diff --git a/src/version.ts b/src/version.ts index 531fbc9..46d1af0 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,4 +1,4 @@ // Version string of this package injected at build time. declare const __PACKAGE_VERSION__: string | undefined; export const VERSION: string = - __PACKAGE_VERSION__ === undefined ? '0.0.0-test' : __PACKAGE_VERSION__; + typeof __PACKAGE_VERSION__ === 'undefined' ? '0.0.0-test' : __PACKAGE_VERSION__;