mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
368 B
TypeScript
12 lines
368 B
TypeScript
//// [tests/cases/compiler/contextualSigInstantiationRestParams.ts] ////
|
|
|
|
//// [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]
|
|
"use strict";
|
|
var sig = toInstantiate;
|