main
Commits on Sep 8, 2022
Commits on Sep 6, 2022
-
-
Make useFsEvents as default strategy for the watching (#50366)
* Remove unnecessary parameter * Dont store name unnecessarily in the watchers * Polled watches and not files * Use fs events as default watching * Some refactoring * Make single per directory native watchers now that we are using it as default * Rename * Comment
-
-
Commits on Sep 3, 2022
Commits on Sep 2, 2022
-
Report every instance of TS1208 (#50101)
* Report every instance of TS1208 * Test case for multiple cases of TS1208 * Add test case for isolatedModules with moduleDetection forced
-
in
operator shouldn't narrow{}
originating inunknown
(#50610)* 'in' operator shouldn't narrow {} originating in unknown * Add regression test
-
Commits on Sep 1, 2022
-
-
Use bidirectional comparability in narrowing (#50592)
* Use bidirectional comparability (aka comparability) in narrowing * Rename test, check other CFA branch, test without strictNullChecks
-
-
{} & null and {} & undefined should always be never (#50553)
* {} & null and {} & undefined should be never in non-strictNullChecks mode * Add tests * Address code review feedback * Accept new baselines
-
Defer distributing index over generic object types (#50540)
* Defer distributing index over generic object types * Only check if the index type should be deferred for intersection types * Add an additional test case
-
Do not canonicalize the file names when getting absolute paths during…
-
Commits on Aug 31, 2022
-
fix(50340): typeof ... === "undefined" check on discriminated union o…
…f undefined and object type doesn't narrow correctly (#50344) * fix(50340): narrow type by discriminant in typeof * add additional test cases
-
Only normalize intersections that include {} (#50535)
* Only normalize intersections that include {} * Accept new baselines
-
Rename API to importPlugin (#50554)
* Rename API to importPlugin * Make it internal too
-
Commits on Aug 30, 2022
-
Retain name and propertyName in declaration emit copies of binding pa…
…tterns if property name is a keyword (#50537) * Retain name and propertyName in declaration emit copies of binding patterns if property name is a keyword * Accept baselines * Remove out of date file
-
Commits on Aug 29, 2022
-
-
Handle intersections in isGenericTypeWithoutNullableConstraint (#50497)
* Handle intersections in isGenericTypeWithoutNullableConstraint * Add regression test