2016-01-29 00:48:18 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
// @allowNonTsExtensions: true
|
|
|
|
// @Filename: file.js
|
|
|
|
//// /**
|
|
|
|
//// * This is a very cool function that is very nice.
|
|
|
|
//// * @returns something
|
2016-02-02 06:48:16 +01:00
|
|
|
//// * @param p anotherthing
|
2016-01-29 00:48:18 +01:00
|
|
|
//// */
|
2016-02-02 06:48:16 +01:00
|
|
|
//// function a1(p) {
|
2016-01-29 00:48:18 +01:00
|
|
|
//// try {
|
|
|
|
//// throw new Error('x');
|
|
|
|
//// } catch (x) { x--; }
|
|
|
|
//// return 23;
|
|
|
|
//// }
|
|
|
|
////
|
|
|
|
//// x - /**/a1()
|
|
|
|
|
2016-09-09 18:02:55 +02:00
|
|
|
verify.quickInfoAt("", "function a1(p: any): number",
|
2016-09-15 20:53:04 +02:00
|
|
|
"This is a very cool function that is very nice.");
|