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
This code breaks the syntax highlighter:
type Stuff<T> = { result: T } | { error: string } const apply = <T>(x: T, y: T, f: (xx: T, xy: T) => Stuff<T>): Stuff<T> => { return f(x, y) } console.log(apply(5, 2, (x, y) => ({result: x + y})))
Seems to break after
const apply = <T>[...etc]
The text was updated successfully, but these errors were encountered:
Thanks for the bug report!
Sorry, something went wrong.
Another case!
import t from 'io-ts'; export enum Entity { User, Client } const extendType = <T extends t.Props, K extends t.Props>( A: t.TypeC<T>, B: K ): t.TypeC<T & K> => t.type({ ...A.props, ...B }); const DBItem = t.type({ id: t.string });
Seems to break after T extends.
T extends
Thanks for the plugin!
No branches or pull requests
This code breaks the syntax highlighter:
Seems to break after
The text was updated successfully, but these errors were encountered: