You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Special inclusion folder (i.e. `types`)
2. `node_modules/@types`
* How do you find this folder?
* Started out with walking from `tsconfig.json`, looking at sibling `node_modules`.
* What about the loose file case? DR found case where tsconfig is not next to `node_modules`? Often happens with test folders.
* New behavior is walking up the spine to the first dir found.
```
node_modules
@types
A
B
types
B
C
```
* What about watching behavior?
* That could be a little tricky - you'd be watching the entire strucutre.
Still working on PR, need to iron out a few issues with test runner.
Narrowing Constants in Function Declarations (#8976)
Changes to Automatic Type Definition Inclusion
2 locations of interest for type inclusion:
Still working on PR, need to iron out a few issues with test runner.
Narrowing Constants in Function Declarations (#8976)
With last week's behavior, this works:
But not if you change
f
to be a function declaration:(discussion)
We don't think many people would end up running into this.
Enums and Algebraic Data Types
As we ended up at last week, enums and ADTs are orthogonal. We already have tags.
Index signature parameter types (#5683)
string
(ornumber
).Have to think more on this.
Non-nullability issues with class properties
super
calls, method calls.The text was updated successfully, but these errors were encountered: