TypeScript/tests/cases/fourslash/jsDocFunctionSignatures7.ts

17 lines
354 B
TypeScript
Raw Normal View History

2016-09-01 18:25:49 +02:00
///<reference path="fourslash.ts" />
// @allowJs: true
// @Filename: Foo.js
/////**
//// * @param {string} p0
//// * @param {string} [p1]
//// */
////function Test(p0, p1) {
//// this.P0 = p0;
//// this.P1 = p1;
////}
////
////
////var /**/test = new Test("");
goTo.marker();
verify.quickInfoIs('var test: {\n P0: string;\n P1: string;\n}');