2016-08-30 15:39:13 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2017-01-09 18:40:03 +01:00
|
|
|
////function /*defFNumber*/f(strs: TemplateStringsArray, x: number): void;
|
|
|
|
////function /*defFBool*/f(strs: TemplateStringsArray, x: boolean): void;
|
2016-08-30 15:39:13 +02:00
|
|
|
////function f(strs: TemplateStringsArray, x: number | boolean) {}
|
|
|
|
////
|
2017-10-19 00:49:46 +02:00
|
|
|
////[|/*useFNumber*/f|]`${0}`;
|
|
|
|
////[|/*useFBool*/f|]`${false}`;
|
2016-08-30 15:39:13 +02:00
|
|
|
|
2016-09-02 21:47:26 +02:00
|
|
|
verify.goToDefinition({
|
|
|
|
useFNumber: "defFNumber",
|
|
|
|
useFBool: "defFBool"
|
|
|
|
});
|