TypeScript/tests/cases/fourslash/jsDocAugments.ts

23 lines
439 B
TypeScript
Raw Normal View History

///<reference path="fourslash.ts" />
// @allowJs: true
// @Filename: dummy.js
//// /**
//// * @augments {Thing<string>}
//// */
//// class MyStringThing extends Thing {
//// constructor() {
//// var x = this.mine;
//// x/**/;
//// }
//// }
// @Filename: declarations.d.ts
//// declare class Thing<T> {
2017-09-23 01:21:31 +02:00
//// mine: T;
//// }
goTo.marker();
verify.quickInfoIs("(local var) x: string");