TypeScript/tests/cases/fourslash/codeFixAddMissingMember.ts

14 lines
300 B
TypeScript
Raw Normal View History

2017-03-14 06:49:54 +01:00
/// <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);