Created
May 1, 2018 14:02
-
-
Save screeny05/dc35f42eaa4e03731b06d87cba6a7a12 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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