How to set a custom type for context in v1.13? #788
|
In ky v1.12, this worked fine: declare module 'ky' {
interface Options {
context?: MyContext;
}
interface NormalizedOptions {
context?: MyContext;
}
}After upgrading to v1.13, I get this error:
|
Answered by
sindresorhus
Oct 31, 2025
Replies: 1 comment
|
The Ky |
0 replies
Answer selected by
fcsha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Ky
contextoption is intentionally untyped. If you want your own, you have to use a different name.