TypeScript/tests/cases/fourslash/getJavaScriptQuickInfo7.ts
2016-09-15 11:53:04 -07:00

21 lines
507 B
TypeScript

/// <reference path="fourslash.ts" />
// @allowNonTsExtensions: true
// @Filename: file.js
//// /**
//// * This is a very cool function that is very nice.
//// * @returns something
//// * @param p anotherthing
//// */
//// function a1(p) {
//// try {
//// throw new Error('x');
//// } catch (x) { x--; }
//// return 23;
//// }
////
//// x - /**/a1()
verify.quickInfoAt("", "function a1(p: any): number",
"This is a very cool function that is very nice.");