tsndr / cloudflare-worker-jwt

A lightweight JWT implementation with ZERO dependencies for Cloudflare Workers.
MIT License
680 stars 55 forks source link

Type declarations for TypeScript is missing #1

Closed Yrlish closed 3 years ago

Yrlish commented 3 years ago

TypeScript is complaining it cannot find any type declarations. I can use the declare module workaround described as one of the solutions in the picture below, but this will not provide any linting to the functions.

image

tsndr commented 3 years ago

Sure since this is written in JS there are no type declarations, but feel free to make a PR to add them.