We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
json.d.ts in the published version
export declare const json: import("types").ResponseFormatter;
json.d.ts when I built it from 5.0.17 github tag
export declare const json: import("./types").ResponseFormatter;
See published version has import('types') (which is wrong) but it should be import('./types') as in built version.
import('types')
import('./types')
Because of above the type of the import { json } from 'itty-router' is any (no issues if right import is used (with relative import))
import { json } from 'itty-router'
any
See https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgKwM4QHZwL5wGZQQhwDkwMMAngLSECuMAplCQNwBQ7amcqAhjGCo8wRqjgY6IAEbNWQA
It feels like some dirty version was published or some postprocessing ruined the right types
The text was updated successfully, but these errors were encountered:
Hmmmm good catch... def gives me some clue to how to fix, as this is almost certainly a post processing issue!
Sorry, something went wrong.
No branches or pull requests
Describe the Issue
json.d.ts in the published version
json.d.ts when I built it from 5.0.17 github tag
See published version has
import('types')
(which is wrong) but it should beimport('./types')
as in built version.Because of above the type of the
import { json } from 'itty-router'
isany
(no issues if right import is used (with relative import))
See
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzgKwM4QHZwL5wGZQQhwDkwMMAngLSECuMAplCQNwBQ7amcqAhjGCo8wRqjgY6IAEbNWQA
It feels like some dirty version was published or some postprocessing ruined the right types
The text was updated successfully, but these errors were encountered: