Closed timonson closed 1 year ago
This approach wouldn't work with the TypeScript dependency base64url
from std
.
Don't do this. Stripping types is also very simple and the Deno guys want this stripping types feature also build in into deno.land/x.
I think it's a downgrade (IMO) as JSDocs also makes code less readable
By moving to JavaScript including JSDoc we could make
djwt
compatible with the browser. By adding// @ts-check
to the top of the files, it is my understanding that type checks would be executed in importing TypeScript files even if the developer would not have enabled the compiler option"checkJs"
inside hisdeno.json
file.Am I overlooking any disadvantages or problems here?
Thanks!