marko
Version:
Optimized runtime for Marko templates.
89 lines (88 loc) • 3.16 kB
TypeScript
import { types as t } from "@marko/compiler";
import { type Tag } from "@marko/compiler/babel-utils";
export declare const IfTag: Tag;
export declare const ElseIfTag: {
autocomplete: {
snippet: string;
description: string;
descriptionMoreURL: string;
}[];
attributeGroups?: string[];
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
attributes?: {
[x: string]: import("@marko/compiler/babel-utils").Attribute;
};
description?: string;
nestedTags?: {
[x: string]: Tag & {
isRepeated?: boolean;
targetProperty?: string;
};
};
htmlType?: "html" | "svg" | "math";
html?: boolean;
types?: string;
template?: string;
renderer?: string;
deprecated?: boolean;
openTagOnly?: boolean;
analyze?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
translate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
parse?: import("@marko/compiler/babel-utils").ParsePlugin<t.MarkoTag>;
transform?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
migrate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
parseOptions?: {
rootOnly?: boolean;
rawOpenTag?: boolean;
openTagOnly?: boolean;
controlFlow?: boolean;
ignoreAttributes?: boolean;
relaxRequireCommas?: boolean;
statement?: boolean;
preserveWhitespace?: boolean;
text?: boolean;
html?: boolean;
};
};
export declare const ElseTag: {
autocomplete: {
description: string;
descriptionMoreURL: string;
}[];
attributeGroups?: string[];
patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
attributes?: {
[x: string]: import("@marko/compiler/babel-utils").Attribute;
};
description?: string;
nestedTags?: {
[x: string]: Tag & {
isRepeated?: boolean;
targetProperty?: string;
};
};
htmlType?: "html" | "svg" | "math";
html?: boolean;
types?: string;
template?: string;
renderer?: string;
deprecated?: boolean;
openTagOnly?: boolean;
analyze?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
translate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
parse?: import("@marko/compiler/babel-utils").ParsePlugin<t.MarkoTag>;
transform?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
migrate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
parseOptions?: {
rootOnly?: boolean;
rawOpenTag?: boolean;
openTagOnly?: boolean;
controlFlow?: boolean;
ignoreAttributes?: boolean;
relaxRequireCommas?: boolean;
statement?: boolean;
preserveWhitespace?: boolean;
text?: boolean;
html?: boolean;
};
};