Hello,
I trying to build my project with quasar (vuejs) but i got those errors :
ERROR in .../node_modules/secure-ls/dist/secure-ls.d.ts(4,9): TS2305: Module '"../../@types/crypto-js"' has no exported member 'CipherHelper'.
ERROR in /home/jer/leihia/leihia-vuejs/node_modules/secure-ls/dist/secure-ls.d.ts(4,23): TS2305: Module '"../../@types/crypto-js"' has no exported member 'Encoder'
I got that in my index.ts (store) :
var ls = new SecureLS({});
so I changed to this:
import * as SecureLS from 'secure-ls'
var ls = new SecureLS({});
But stil got original error messages + another one :
TS2351: This expression is not constructable. Type 'typeof SecureLS' has no construct signatures.
Tried with last version even 1.2.5.
I would love any help cause your solution is perfect for my project.
Thanks!
Hello,
I trying to build my project with quasar (vuejs) but i got those errors :
ERROR in .../node_modules/secure-ls/dist/secure-ls.d.ts(4,9): TS2305: Module '"../../@types/crypto-js"' has no exported member 'CipherHelper'.ERROR in /home/jer/leihia/leihia-vuejs/node_modules/secure-ls/dist/secure-ls.d.ts(4,23): TS2305: Module '"../../@types/crypto-js"' has no exported member 'Encoder'I got that in my index.ts (store) :
so I changed to this:
But stil got original error messages + another one :
TS2351: This expression is not constructable. Type 'typeof SecureLS' has no construct signatures.Tried with last version even 1.2.5.
I would love any help cause your solution is perfect for my project.
Thanks!