TypeScript/tests/cases/fourslash/annotateWithTypeFromJSDoc6.ts
2017-10-13 09:38:01 -07:00

14 lines
340 B
TypeScript

/// <reference path='fourslash.ts' />
////declare class C {
//// /** @type {number | null} */
//// /*1*/p;
////}
verify.applicableRefactorAvailableAtMarker('1');
verify.fileAfterApplyingRefactorAtMarker('1',
`declare class C {
/** @type {number | null} */
p: number | null;
}`, 'Annotate with type from JSDoc', 'annotate');