TypeScript/tests/baselines/reference/contextualSigInstantiationRestParams.js
2014-07-12 17:30:19 -07:00

9 lines
277 B
JavaScript

//// [contextualSigInstantiationRestParams.ts]
declare function toInstantiate<A, B>(a?: A, b?: B): B;
declare function contextual(...s: string[]): string
var sig: typeof contextual = toInstantiate;
//// [contextualSigInstantiationRestParams.js]
var sig = toInstantiate;