mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
40 lines
916 B
TypeScript
40 lines
916 B
TypeScript
import "angular-html-parser/lib/compiler/src/ml_parser/ast";
|
|
import { HtmlTagDefinition } from "angular-html-parser/lib/compiler/src/ml_parser/html_tags.js";
|
|
|
|
declare module "angular-html-parser/lib/compiler/src/ml_parser/ast.js" {
|
|
interface Attribute {
|
|
startSourceSpan: never;
|
|
endSourceSpan: never;
|
|
// see restoreName in parser-html.js
|
|
namespace?: string | null;
|
|
hasExplicitNamespace?: boolean;
|
|
}
|
|
|
|
interface CDATA {
|
|
startSourceSpan: never;
|
|
endSourceSpan: never;
|
|
}
|
|
|
|
interface Comment {
|
|
startSourceSpan: never;
|
|
endSourceSpan: never;
|
|
}
|
|
|
|
interface DocType {
|
|
startSourceSpan: never;
|
|
endSourceSpan: never;
|
|
}
|
|
|
|
interface Element {
|
|
tagDefinition: HtmlTagDefinition;
|
|
// see restoreName in parser-html.js
|
|
namespace?: string | null;
|
|
hasExplicitNamespace?: boolean;
|
|
}
|
|
|
|
interface Text {
|
|
startSourceSpan: never;
|
|
endSourceSpan: never;
|
|
}
|
|
}
|