From 2cc299185f6e2d06871b29bc4beb63ce56de2147 Mon Sep 17 00:00:00 2001 From: gtmnayan <50981692+gtm-nayan@users.noreply.github.com> Date: Tue, 18 Apr 2023 14:48:23 +0545 Subject: [PATCH] fix: ensure version is typed as string instead of the literal __VERSION__ (#8502) fixes #8498 --- src/compiler/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/index.ts b/src/compiler/index.ts index 76eb45d37f..57277ac756 100644 --- a/src/compiler/index.ts +++ b/src/compiler/index.ts @@ -3,5 +3,5 @@ export { default as parse } from './parse/index'; export { default as preprocess } from './preprocess/index'; export { walk } from 'estree-walker'; -export const VERSION = '__VERSION__'; +export const VERSION: string = '__VERSION__'; // additional exports added through generate-type-definitions.js