Nathan Shively-Sanders
eac073894b
Fix serialisation of static class members in JS ( #37780 )
...
* Fix serialisation of static class members in JS
Previously static class members would be treated the same way as expando
namespace assignments to a class:
```ts
class C {
static get x() { return 1 }
}
C.y = 12
```
This PR adds a syntactic check to the static/namespace filter that
treats symbols whose valueDeclaration.parent is a class as statics.
Fixes #37289
* fix messed-up indent
* Extract function
2020-04-03 20:06:05 -07:00
..
2020-04-03 17:23:02 -04:00
2020-04-01 16:27:33 -07:00
2020-03-25 16:26:10 -07:00
2019-12-18 10:23:58 -08:00
2020-03-25 16:26:10 -07:00
2020-03-19 14:03:21 -07:00
2020-04-03 20:06:05 -07:00
2020-04-01 11:13:21 -07:00
2020-02-19 17:21:51 -08:00
2020-02-11 15:34:17 -08:00
2020-03-25 15:28:13 -07:00
2020-04-02 18:00:59 -07:00
2020-03-24 09:56:47 -07:00
2020-03-25 15:28:13 -07:00
2020-04-02 10:06:14 -07:00
2020-03-11 14:35:26 -07:00
2020-03-25 16:27:02 -07:00
2020-03-27 12:00:34 -07:00
2020-03-02 16:52:03 -08: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-03-19 16:53:44 -07:00
2020-03-12 13:11:11 -07:00
2020-03-25 18:39:45 -07:00
2020-02-24 18:20:58 -08:00
2019-08-08 21:30:18 +03:00
2019-09-23 06:14:52 -07:00
2020-03-25 19:18:36 -07:00
2020-02-24 15:36:14 -08:00
2019-11-27 13:44:31 -08:00
2020-02-24 18:20:58 -08:00
2020-02-05 08:59:51 -08:00
2019-10-07 17:31:42 -07:00
2020-04-02 23:54:24 -07:00
2020-04-03 10:29:22 -07:00
2020-03-25 15:28:13 -07:00
2019-12-27 13:07:35 -08:00
2020-03-04 14:52:33 -05:00
2020-04-01 11:13:21 -07:00
2020-04-01 11:13:21 -07:00
2019-12-11 13:26:44 -08:00