secure-ls
secure-ls copied to clipboard
secure-ls not compatible with pnpm + esBuild: has no exported member 'LZStringStatic'
When I've installed secure-ls with pnpm and run it with esBuild I get:
X [ERROR] TS2694: Namespace '"C:/devprojects/node_modules/.pnpm/[email protected]/node_modules/lz-string/typings/lz-string"' has no exported member 'LZStringStatic'. [plugin angular-compiler]
node_modules/.pnpm/[email protected]/node_modules/secure-ls/dist/secure-ls.d.ts:24:23:
24 │ LZString: LZString.LZStringStatic;
╵ ~~~~~~~~~~~~~~