Nathan Shively-Sanders
13cddae3f7
Allow references to uninitialized ambient properties ( #36112 )
...
Previously these were incorrectly treated just like normal properties:
```ts
class Parent {
a: any;
constructor(arg: any) {
this.a = arg;
}
}
class Child extends Parent {
declare a: number;
constructor(arg: number) {
super(arg);
console.log(this.a); // Property 'a' is used before being assigned. (2565)
}
}
```
Fixes #35327
2020-01-10 10:50:05 -08:00
..
2020-01-09 10:21:49 -08:00
2020-01-08 14:21:28 -05:00
2020-01-03 13:02:45 -08:00
2019-12-18 10:23:58 -08:00
2019-12-19 10:10:17 -08:00
2019-11-27 13:44:31 -08:00
2020-01-10 10:50:05 -08:00
2020-01-06 13:23:47 -08:00
2020-01-03 14:39:32 -08:00
2020-01-06 16:38:46 -08:00
2019-10-25 16:27:24 -07:00
2020-01-07 16:46:14 -08:00
2020-01-08 09:54:32 -08:00
2019-12-27 13:07:35 -08:00
2020-01-03 14:39:32 -08:00
2019-12-02 11:47:42 -08:00
2019-12-17 14:19:52 -08:00
2020-01-07 16:00:15 -08:00
2019-10-07 13:31:07 -07:00
2019-10-18 09:13:40 -07:00
2019-11-27 13:44:31 -08:00
2019-11-27 13:44:31 -08:00
2020-01-08 09:54:32 -08:00
2019-09-30 09:58:33 -07:00
2019-12-27 13:07:35 -08:00
2019-09-23 06:14:52 -07:00
2019-12-11 13:26:44 -08:00
2019-12-23 16:45:17 -08:00
2019-11-27 13:44:31 -08:00
2020-01-03 13:02:45 -08:00
2019-12-23 16:45:17 -08:00
2019-10-07 17:31:42 -07:00
2020-01-07 17:12:43 -05:00
2020-01-10 10:09:39 -08:00
2020-01-03 14:39:32 -08:00
2019-12-27 13:07:35 -08:00
2020-01-03 14:39:32 -08:00
2019-12-12 19:51:18 -08:00
2019-12-11 13:26:44 -08:00
2019-12-11 13:26:44 -08:00