14 lines
300 B
TypeScript
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); |