Skip to content

Instantly share code, notes, and snippets.

@brayhoward
Last active August 14, 2020 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brayhoward/f805aabb9e9394c345f751f48de96ede to your computer and use it in GitHub Desktop.
Save brayhoward/f805aabb9e9394c345f751f48de96ede to your computer and use it in GitHub Desktop.
Typescript utility types. Mostly more descriptive aliases for the any type
type IFixMe = any;
type IToDo = any;
type IInexpressible = any;
type INotWorthIt = any;
type IFuckIt = any;
// When the library you are consuming is fucked up
type IBadTypings = any;
type IAnyFields = { [field: string]: any };
type IWithAnyFields<T> = T & IAnyFields;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment