diff options
author | 2021-07-21 10:22:39 -0400 | |
---|---|---|
committer | 2021-07-21 10:22:39 -0400 | |
commit | b85e68a7131b5c582c50f1614a07a5b47cd65850 (patch) | |
tree | 0deed51c9d2e138801cd9165d6ccb3ec00bb498f /packages/astro-parser/src/parse/index.ts | |
parent | b7e579a9cbdef761c704e92cf3d2dab95fe9eb8d (diff) | |
download | astro-b85e68a7131b5c582c50f1614a07a5b47cd65850.tar.gz astro-b85e68a7131b5c582c50f1614a07a5b47cd65850.tar.zst astro-b85e68a7131b5c582c50f1614a07a5b47cd65850.zip |
Handle custom elements in nested JSX (#792)
* Handle custom elements in nested JSX
* Adds a changeset
Diffstat (limited to 'packages/astro-parser/src/parse/index.ts')
-rw-r--r-- | packages/astro-parser/src/parse/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro-parser/src/parse/index.ts b/packages/astro-parser/src/parse/index.ts index 9b9f87073..ef33bfaca 100644 --- a/packages/astro-parser/src/parse/index.ts +++ b/packages/astro-parser/src/parse/index.ts @@ -29,7 +29,7 @@ export class Parser { js: Script[] = []; meta_tags = {}; last_auto_closed_tag?: LastAutoClosedTag; - feature_flags: 0; + feature_flags: number = 0; constructor(template: string, options: ParserOptions) { if (typeof template !== 'string') { |