-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error #119
Comments
Providing no reproduction gist or project. 👎 Please use the bug issue templates maintainers prepare. Anyway. https://github.com/panva/jose/blob/v3.1.2/src/jwk/parse.ts#L80-L88 I don't see a bug. This fallthrough is intended. Don't get why you'd compile a dependency library when it comes with already prepared |
@panva I'm just using it as the README says:
Nothing more.
My
|
I can reproduce but have no clue why TS does any checking inside a library source. Anyway, i suspect using the actual source files might be an issue so i'll instead compile the type declarations only and publish those. Not sure if it'll help but it'll at least bring the install size down a bit. |
BTW, I noticed that current |
that's because they're resolved from the source files |
I've published v3.1.3 in which the source files are not published to serve as type definitions anymore. Instead the ts source files are used to compile just .d.ts files with comments serving as inline docs. 💩 typescript. |
It works! Thanks! |
Please consider supporting the library if it provides value to you or your company and this support was of help to you. Supporting the library means, amongst other things, that such support will be available in the future. |
Using this library, on compiling it use my
tsconfig
to compile the library,So I can't compile it because of some errors:
Even more if I enable the new TS flag
noUncheckedIndexedAccess
.The text was updated successfully, but these errors were encountered: