TypeScript/tests/cases/fourslash/jsDocFunctionSignatures12.ts

33 lines
652 B
TypeScript
Raw Normal View History

2016-09-01 18:25:49 +02:00
///<reference path="fourslash.ts" />
2016-09-01 18:25:49 +02:00
// @allowJs: true
// @Filename: jsDocFunctionSignatures.js
2016-09-01 18:25:49 +02:00
/////**
//// * @param {{
//// * stringProp: string,
//// * numProp: number,
//// * boolProp: boolean,
//// * anyProp: *,
//// * anotherAnyProp:
//// * *,
//// * functionProp:
//// * function(string,
//// * *):
//// * *
//// * }} o
2016-09-01 18:25:49 +02:00
//// */
////function f1(o) {
//// o/**/;
////}
2016-09-01 18:25:49 +02:00
goTo.marker();
verify.quickInfoIs(`(parameter) o: {
stringProp: string;
numProp: number;
boolProp: boolean;
anyProp: any;
anotherAnyProp: any;
functionProp: (arg0: string, arg1: any) => any;
}`);