From 6ba0775eb7feaf515278eaaeaf48578380c6eca4 Mon Sep 17 00:00:00 2001 From: gtmnayan Date: Sat, 15 Apr 2023 13:15:34 +0545 Subject: [PATCH] ensure version is typed as string instead of the literal __VERSION__ --- 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 76eb45d37fb3..57277ac7561c 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