isomorphic-webcrypto icon indicating copy to clipboard operation
isomorphic-webcrypto copied to clipboard

typescript+es6 support

Open sirpy opened this issue 6 years ago • 2 comments

trying to integrate with webcrypto-liner and other libraries can you help out by setting your project to support typescript + es6?

sirpy avatar Sep 11 '19 21:09 sirpy

Hmm, I'm unsure what setting this library to typescript + es6 would mean and how it would help integrate with other WebCrypto libraries.

vscode should automatically import types from libraries that export them, even with commonjs. We export index.d.js to ensure other projects get types when they import isomorphic-webcrypto.

kevlened avatar Sep 11 '19 21:09 kevlened

we need to add precompiler like babel. otherwise it would require rewriting code we want to reuse that is in ts or es6

sirpy avatar Sep 11 '19 21:09 sirpy