File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
packages/angular-html-parser Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ interface Options {
7373 * tokenize angular control flow block syntax
7474 */
7575 tokenizeAngularBlocks? : boolean ,
76+ /**
77+ * tokenize angular let declaration syntax
78+ */
79+ tokenizeAngularLetDeclaration? : boolean ,
7680}
7781```
7882
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ export interface ParseOptions {
4545 * tokenize angular control flow block syntax
4646 */
4747 tokenizeAngularBlocks ?: boolean ,
48+ /**
49+ * tokenize angular let declaration syntax
50+ */
51+ tokenizeAngularLetDeclaration ?: boolean ,
4852}
4953
5054export function parse (
@@ -57,6 +61,7 @@ export function parse(
5761 isTagNameCaseSensitive = false ,
5862 getTagContentType,
5963 tokenizeAngularBlocks = false ,
64+ tokenizeAngularLetDeclaration = false ,
6065 } = options ;
6166 return getParser ( ) . parse (
6267 input ,
@@ -67,6 +72,7 @@ export function parse(
6772 canSelfClose,
6873 allowHtmComponentClosingTags,
6974 tokenizeBlocks : tokenizeAngularBlocks ,
75+ tokenizeLet : tokenizeAngularLetDeclaration ,
7076 } ,
7177 isTagNameCaseSensitive ,
7278 getTagContentType ,
You can’t perform that action at this time.
0 commit comments