TypeScript/tests/cases/fourslash/codeFixAddForgottenThis01.ts
Vladimir Matveev 2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00

12 lines
237 B
TypeScript

/// <reference path='fourslash.ts' />
////class C {
//// foo: number;
//// constructor() {[|
//// foo = 10;
//// |]}
////}
verify.rangeAfterCodeFix(`
this.foo = 10;
`, /*includeWhitespace*/ true);