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
| interface Test { | |
| x: string | |
| }; | |
| function test<T extends Test>() { | |
| const y: Partial<T> = { x: "foo" }; | |
| } |
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
| declare module "meteor/check" { | |
| module Match { | |
| interface Matcher<T> { __impossibleToSatisfy: any; } | |
| export type Pattern = | |
| typeof String | | |
| typeof Number | | |
| typeof Boolean | | |
| typeof Object | | |
| typeof Function | | |
| (new (...args: any[]) => any) | |
OlderNewer