Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
30 lines
674 B
TypeScript
Executable File
30 lines
674 B
TypeScript
Executable File
// TypeScript Version: 3.5
|
|
|
|
import {Element, Properties, Node} from 'hast'
|
|
|
|
/**
|
|
* DSL to create virtual hast trees for HTML or SVG
|
|
*
|
|
* @param selector Simple CSS selector
|
|
* @param children (Lists of) child nodes
|
|
*/
|
|
declare function hastscript(
|
|
selector?: string,
|
|
children?: string | Node | Array<string | Node>
|
|
): Element
|
|
|
|
/**
|
|
* DSL to create virtual hast trees for HTML or SVG
|
|
*
|
|
* @param selector Simple CSS selector
|
|
* @param properties Map of properties
|
|
* @param children (Lists of) child nodes
|
|
*/
|
|
declare function hastscript(
|
|
selector?: string,
|
|
properties?: Properties,
|
|
children?: string | Node | Array<string | Node>
|
|
): Element
|
|
|
|
export = hastscript
|