* Do not ts-ignore noImplicitAny suggestions Still need to write tests. * Add tests * More tests * Update baselines
16 lines
299 B
TypeScript
16 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;
|
|
}`,
|
|
});
|