master
Commits on May 18, 2021
-
skipParenthesesUp()is exactly the same as `walkUpParenthesizedExpr……essions()` Remove the former since the latter is based on the generel `walkUp()`.
-
-
Generate SourceMap mappings string using array of character codes and…
… fewer String.fromCharCode calls (#44031) * Test normal char code array for source mappings * Limit buffer size, minor performance tweaks * Always commit at exactly chunk size Co-authored-by: David Michon <dmichon-msft@users.noreply.github.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Don’t offer import statement completions at
fromposition (#44125)* Don’t offer import statement completions at `from` position * Set isGlobalCompletion to false, use indexOf lookup
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 17, 2021
-
Simplify codeql github action (#44124)
The current action is failing with an error that recommends removing the `git checkout HEAD^2` step.
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 15, 2021
Commits on May 13, 2021
-
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
encounted -> encountered
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Commits on May 12, 2021
-
Cache accessibe symbol chains and serialized type parameter name gene…
…ration (#43973) * Cache accessibe symbol chains, type parameter name generation * Move signature declaration helper length approximation to start of function * Add node result caching internal to `typeToTypeNodeHelper` * Suggestion from PR
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Loosen up the first argument type for
String.rawThe [String.raw spec](https://tc39.es/ecma262/#sec-string.raw) uses just the `raw` property of its first argument, which is a useful way of using it in user-defined tag functions to do the work of interleaving strings and values as well as converting the values to strings. Fixes #43609.
-
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 11, 2021
-
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Commits on May 10, 2021
-
* Bump version to 4.4. * Update Baselines and/or Applied Lint Fixes Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Commits on May 9, 2021
-
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 8, 2021
Commits on May 7, 2021
-
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Don't eagerly get apparent type of spread expression contextual type (#…
…44002) * Don't get apparent type of contextual type for spread expressions * Add regression test
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Support semantic highlights for JS files (#43992)
* Switches from never allowing semantic highlight on JS to only doing it if we have a valid source file * Adds a way to test and validate that an arbitrary JS file gets semantic classification results * Revert to just dropping the if statement
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Correctly use ownMap from module resolution cache (#43986)
* Test showing the moduleResolutionCache reset issue with tsc --b --w * Fix incorrect usage of ownMap by making it function returning ownMap instead of constant value
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Improve errors for incorrectly nested export default (#43967)
* Improve errors for incorrectly nested export default The compiler and services don't handle incorrectly nested `export default` well right now: ```ts export = (x,y) => { export default { } } ``` Asking for document highlights, find all references or quick info on 'export' or 'default' cause a crash. After the crash is fixed, the error message is confusing and wrong: "An export assignment cannot be used outside a module." This PR: 1. Skips document highlights for incorrectly nested export default. 2. Skips find all refs for incorrectly nested export default. 3. Switches the fallback binding for incorrectly nested export default from Alias to Property. Neither is correct, but Property doesn't cause a crash in alias resolution. 4. Improves the error message to reflect a post-ES module world, which has export default and 'module' means 'ES module', not 'namespace'. Fixes #40082 and the related bugs mentioned above. * address PR commentsVerified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
-
Fix perf regression from #42556 (#43949)
PR #42556 was a nice optimization that dramatically sped up comparisons of discriminated unions. Unfortunately, the cost of determining whether a union is discriminated can be prohibitively high. In particular, an internal team with a very large repo saw their type count double and their memory usage increase from 6GB to 9GB, breaking their build. This changes splits the difference by not trying to compute the property types of intersection types - a notoriously slow operation.
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 6, 2021
-
Fix package.json auto imports for pnpm without project references (#4…
…3892) * Fix package.json auto imports for pnpm without project references * Make property optional * Revert unnecessary unnittest change * Set symlinked files when setting symlinked directories * Update `typeDirectiveIsEqualTo` * Consider symlinks found during type reference directive resolution into `discoverProbableSymlinks` * Rename `originalFileName` to `originalPath`, make internal
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
When directory watcher is invoked with any file from node_modules pac…
…kage, invalidate for file paths in that package (#43974) Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Fix typo in system.ts (#43895)
assigment -> assignment
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.