2018-03-06 16:49:21 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @Filename: test123.ts
|
|
|
|
/////** @type {number} */
|
|
|
|
////var [|x|];
|
|
|
|
/////** @type {string} */
|
|
|
|
////var [|y|];
|
|
|
|
|
|
|
|
verify.codeFixAll({
|
|
|
|
fixId: "annotateWithTypeFromJSDoc",
|
2018-03-28 03:21:21 +02:00
|
|
|
fixAllDescription: "Annotate everything with types from JSDoc",
|
2018-03-06 16:49:21 +01:00
|
|
|
newFileContent:
|
|
|
|
`/** @type {number} */
|
|
|
|
var x: number;
|
|
|
|
/** @type {string} */
|
|
|
|
var y: string;`,
|
|
|
|
});
|