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