Skip to content

Instantly share code, notes, and snippets.

@screeny05
Created May 1, 2018 14:02
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 screeny05/dc35f42eaa4e03731b06d87cba6a7a12 to your computer and use it in GitHub Desktop.
Save screeny05/dc35f42eaa4e03731b06d87cba6a7a12 to your computer and use it in GitHub Desktop.
type Extensible<T> = T & { [P in keyof any]: any[P] };
interface IFoo {
value: string;
}
declare const foo: IFoo;
foo.value;
foo.noError;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment