TypeScript/tests/cases/fourslash/codeFixAddMissingProperties5.ts

17 lines
279 B
TypeScript

/// <reference path='fourslash.ts' />
////type T = {
//// a: null;
////}
////
////[|const foo: T = {}|];
verify.codeFix({
index: 0,
description: ts.Diagnostics.Add_missing_properties.message,
newRangeContent:
`const foo: T = {
a: null
}`
});