TypeScript/tests/cases/fourslash/codeFixAddMissingMember.ts
2017-03-13 22:50:21 -07:00

14 lines
300 B
TypeScript

/// <reference path='fourslash.ts' />
////[|class C {
//// method() {
//// this.foo = 10;
//// }
////}|]
verify.rangeAfterCodeFix(`class C {
foo: number;
method() {
this.foo = 10;
}
}`, /*includeWhiteSpace*/false, /*errorCode*/ undefined, /*index*/ 0);