Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
602 B
TypeScript
14 lines
602 B
TypeScript
import type { AlternativeContainerNode, Node, ParentNode, QuantifiableNode } from './parse.js';
|
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
type Props = {
|
|
[key in KeysOfUnion<Node>]?: any;
|
|
} & {
|
|
type?: Node['type'];
|
|
};
|
|
declare function hasOnlyChild(node: ParentNode & {
|
|
body: Array<Node>;
|
|
}, props?: Props): boolean;
|
|
declare function isAlternativeContainer(node: Node): node is AlternativeContainerNode;
|
|
declare function isQuantifiable(node: Node): node is QuantifiableNode;
|
|
export { hasOnlyChild, isAlternativeContainer, isQuantifiable, };
|
|
//# sourceMappingURL=node-utils.d.ts.map
|