Skip to content

Instantly share code, notes, and snippets.

interface Test {
x: string
};
function test<T extends Test>() {
const y: Partial<T> = { x: "foo" };
}
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) |