@angular/compiler 20.2.0-next.0 → 20.2.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/compiler.mjs +69 -26
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +9 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.2.0-next.
|
|
2
|
+
* @license Angular v20.2.0-next.1
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -610,7 +610,8 @@ declare class Element$1 extends NodeWithI18n {
|
|
|
610
610
|
readonly isSelfClosing: boolean;
|
|
611
611
|
startSourceSpan: ParseSourceSpan$1;
|
|
612
612
|
endSourceSpan: ParseSourceSpan$1 | null;
|
|
613
|
-
|
|
613
|
+
readonly isVoid: boolean;
|
|
614
|
+
constructor(name: string, attrs: Attribute[], directives: Directive$1[], children: Node$1[], isSelfClosing: boolean, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: (ParseSourceSpan$1 | null) | undefined, isVoid: boolean, i18n?: I18nMeta$1);
|
|
614
615
|
visit(visitor: Visitor$1, context: any): any;
|
|
615
616
|
}
|
|
616
617
|
declare class Comment$1 implements BaseNode {
|
|
@@ -3542,8 +3543,9 @@ declare class Element implements Node {
|
|
|
3542
3543
|
sourceSpan: ParseSourceSpan$1;
|
|
3543
3544
|
startSourceSpan: ParseSourceSpan$1;
|
|
3544
3545
|
endSourceSpan: ParseSourceSpan$1 | null;
|
|
3546
|
+
readonly isVoid: boolean;
|
|
3545
3547
|
i18n?: I18nMeta$1 | undefined;
|
|
3546
|
-
constructor(name: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], directives: Directive[], children: Node[], references: Reference[], isSelfClosing: boolean, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
|
|
3548
|
+
constructor(name: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], directives: Directive[], children: Node[], references: Reference[], isSelfClosing: boolean, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, isVoid: boolean, i18n?: I18nMeta$1 | undefined);
|
|
3547
3549
|
visit<Result>(visitor: Visitor<Result>): Result;
|
|
3548
3550
|
}
|
|
3549
3551
|
declare abstract class DeferredTrigger implements Node {
|
|
@@ -5318,6 +5320,10 @@ declare class Identifiers {
|
|
|
5318
5320
|
name: string;
|
|
5319
5321
|
moduleName: string;
|
|
5320
5322
|
};
|
|
5323
|
+
static assertType: {
|
|
5324
|
+
name: string;
|
|
5325
|
+
moduleName: string;
|
|
5326
|
+
};
|
|
5321
5327
|
}
|
|
5322
5328
|
|
|
5323
5329
|
/**
|