TypeScript/tests/baselines/reference/contextualSigInstantiationRestParams.js

9 lines
277 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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;