60efb65931
* Do not ts-ignore noImplicitAny suggestions Still need to write tests. * Add tests * More tests * Update baselines
17 lines
299 B
TypeScript
17 lines
299 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
////declare class C {
|
|
//// /** @type {number | null} */
|
|
//// p;
|
|
////}
|
|
|
|
verify.codeFix({
|
|
description: "Annotate with type from JSDoc",
|
|
index: 0,
|
|
newFileContent:
|
|
`declare class C {
|
|
/** @type {number | null} */
|
|
p: number | null;
|
|
}`,
|
|
});
|