2017-05-25 00:24:49 +02:00
|
|
|
///<reference path="fourslash.ts" />
|
2015-07-07 02:03:33 +02:00
|
|
|
|
|
|
|
//// var x = class myClass <TypeParam> {
|
|
|
|
//// getClassName (){
|
|
|
|
//// /*0*/
|
2017-05-25 00:24:49 +02:00
|
|
|
//// var tmp: /*0Type*/;
|
2015-07-07 02:03:33 +02:00
|
|
|
//// }
|
|
|
|
//// prop: Ty/*1*/
|
|
|
|
//// }
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions(
|
|
|
|
{ marker: "0", excludes: "TypeParam" },
|
|
|
|
{ marker: ["0Type", "1"], includes: { name: "TypeParam", text: "(type parameter) TypeParam in myClass<TypeParam>", kind: "type parameter" } },
|
|
|
|
);
|