2016-11-11 10:25:50 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////class C {
|
|
|
|
//// constructor(public foo) {
|
|
|
|
//// }
|
|
|
|
//// bar() { [|foo = 10|] };
|
|
|
|
////}
|
|
|
|
|
2017-09-27 00:16:29 +02:00
|
|
|
verify.codeFix({
|
2017-12-02 01:38:59 +01:00
|
|
|
description: "Add 'this.' to unresolved variable",
|
2018-10-29 21:23:33 +01:00
|
|
|
index: 0,
|
2017-09-27 00:16:29 +02:00
|
|
|
newRangeContent: "this.foo = 10",
|
|
|
|
});
|