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
I'd love to have the ability to be able to create generic type aliases.
At the moment we are using interfaces to reference our common function signatures.
interface IGenericCallback<T> { <T>(val: T, index: number, arr: Array<T>): void; }
I'd love to be able to remove these interfaces and use something along the lines of:
type GenericCallback<T> = <T>(val: T, index: number: arr: Array<T>): void;
Is this something that may be considered as a feature enhancement?
Regards, Ian Munro
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
See #1616.
No branches or pull requests
I'd love to have the ability to be able to create generic type aliases.
At the moment we are using interfaces to reference our common function signatures.
I'd love to be able to remove these interfaces and use something along the lines of:
Is this something that may be considered as a feature enhancement?
Regards,
Ian Munro
The text was updated successfully, but these errors were encountered: