microsoft / TypeScript Public
main
Commits on Mar 2, 2022
-
Add explicit assertion on somewhat commonly incorrectly passed argume…
…nt (#48078) * Add explicit assertion on somewhat commonly incorrectly passed argument * PR feedback
-
Add import assertions to type only imports and import types to force …
…the resolution mode of the specifier (#47807) * Add import assertions for type-only imports and import types to change resolver modes * By popular request, only allow mode assertions on top-level type only imports * Add specifier options parameter to specifier generation
-
Commits on Mar 1, 2022
-
Fix modifier order for class member completions (#48066)
* fix modifier order & tests * remove empty replacement span from tests
-
Fix incorrect parser error assumption in semicolon handling leading t…
…o incremental parser brokenness (#48067)
Commits on Feb 28, 2022
-
Use full
isReadonlySymbolcheck rather than declaration flags (#48064)* Use full `isReadonlySymbol` check rather than declaration flags * Limit subtype readonly consistency check to strict subtype relation * Update comment
-
Add
Intl.Localeparameter type totoLocale[X]Stringsignatures. (#……47811) * add Intl.Locale param type to locales argument in BigInt, Number, and Date methods * update baselines * add test for locales object arguments * fix indentation
-
Commits on Feb 25, 2022
-
Expose text property of SourceFileLike for some Public APIs (#44599)
* Expose text property of SourceFileLike * gulp baseline-accept
-
Don't treat a colon in a conditional expression branch as part of an …
…arrow function (#47550)
-
go-to-type-definition, and find-all-refs should work for import.meta (#…
…44364) * go-to-type-definition, and find-all-refs should work for import.meta * search `meta` instead of `import.meta` * remove `definition` * fix compilation error * update baseline * revert definition
-
Merge branch 'related-spans-for-implement-abstract-class-error' of ht…
…tps://github.com/FlyingPumba/TypeScript into FlyingPumba-related-spans-for-implement-abstract-class-error
Commits on Feb 24, 2022
Commits on Feb 23, 2022
-
fix(47158): Removes comments when line variable declaration (#47407)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
-
Commits on Feb 22, 2022
Commits on Feb 21, 2022
Commits on Feb 20, 2022
Commits on Feb 19, 2022
Commits on Feb 18, 2022
-
Only suggest
@paramcodefixes in TS (#47959)* Only issue @param suggestions with codefixes in TS Previously, there were 2 JS errors that were issued as suggestions in TS files. But there was no codefix for these errors, and the errors were incorrect in TS. This PR only issues the JS-specific errors on JS files. * Minimise test
-
-
-
Fix object.assign first param constraint (#40909)
* fixes #35621 * undo changes to generated file * undo whitespace fixup attempt * update baselines Co-authored-by: TrejGun <trejgun@gmail.com>
-
Standardized aka.ms links for tsc and tsconfig (#47129)
* Standardized aka.ms links for tsc and tsconfig * Three missed baselines * Three last baselines * Went back to aka.ms/tsconfig
-
Remove unnecessary check in getNarrowableTypeForReference (#47953)
* Remove unnecessary check in getNarrowableTypeForReference * Add regression test
Commits on Feb 17, 2022
-
fix(47024):fix type of DateTimeFormat and NumberFormat (#47117)
* fix type of DateTimeFormat and NumberFormat * add NumberFormat to esnext.intl.d.ts * Update src/lib/esnext.intl.d.ts Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * better unification of previous changes Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
-