Skip to content

Commit 2cc2991

Browse files
authored
fix: ensure version is typed as string instead of the literal __VERSION__ (#8502)
fixes #8498
1 parent 9425f18 commit 2cc2991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ export { default as parse } from './parse/index';
33
export { default as preprocess } from './preprocess/index';
44
export { walk } from 'estree-walker';
55

6-
export const VERSION = '__VERSION__';
6+
export const VERSION: string = '__VERSION__';
77
// additional exports added through generate-type-definitions.js

0 commit comments

Comments
 (0)