17 lines
No EOL
300 B
TypeScript
17 lines
No EOL
300 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//// [|class A {
|
|
//// constructor() {
|
|
//// this.x = 10;
|
|
//// }
|
|
//// }|]
|
|
|
|
verify.rangeAfterCodeFix(`
|
|
class A {
|
|
x: number;
|
|
|
|
constructor() {
|
|
this.x = 10;
|
|
}
|
|
}
|
|
`, /*includeWhiteSpace*/ false, /*errorCode*/ undefined, /*index*/ 0); |