Nathan Shively-Sanders
cf3e28ea66
Revert "feat(40197): handle uncalled function checks in binary expressions ( #40260 )"
...
This reverts commit eaf4f46c172f9899306765e38a36c9517e04b676.
2020-10-07 14:14:49 -07:00
Alex T
eaf4f46c17
feat(40197): handle uncalled function checks in binary expressions ( #40260 )
2020-10-07 14:06:42 -07:00
Nathan Shively-Sanders
4283428906
Fix export binding of namespaced typedefs ( #40980 )
...
The binder incorrectly rejected implicit namespace declarations in
typedefs.
2020-10-07 13:21:02 -07:00
Wesley Wigham
4dc7e59248
Merge pull request #40953 from weswigham/improve-completions-large-literal-perf
...
Improve the performance of requesting completions within a massive array literal
2020-10-07 12:44:20 -07:00
Wesley Wigham
d6af322287
Add comment
2020-10-07 12:27:43 -07:00
csigs
21ea557dcc
LEGO: Merge pull request 40984
...
LEGO: Merge pull request 40984
2020-10-07 11:11:10 -07:00
csigs
30bb34ada4
LEGO: check in for master to temporary branch.
2020-10-07 18:10:42 +00:00
Nathan Shively-Sanders
fc783a9000
Fix missed tasks to add esnext.weakref ( #40981 )
...
Follow up to #38232 , based on #33844
2020-10-07 11:06:04 -07:00
Anders Hejlsberg
f34220980b
Add isDeeplyNestedType logic to getResolvedBaseConstraint ( #40971 )
...
* Add isDeeplyNestedType logic to getResolvedBaseConstraint
* Accept new baselines
* Add regression test
* Accept new baselines
* Fix lint issue
2020-10-07 05:50:06 -07:00
csigs
14c731689e
LEGO: Merge pull request 40975
...
LEGO: Merge pull request 40975
2020-10-06 23:11:16 -07:00
csigs
486b779b58
LEGO: check in for master to temporary branch.
2020-10-07 06:10:48 +00:00
csigs
80413344bb
LEGO: Merge pull request 40972
...
LEGO: Merge pull request 40972
2020-10-06 17:11:19 -07:00
csigs
f0515eed0e
LEGO: check in for master to temporary branch.
2020-10-07 00:10:51 +00:00
Mauro Bringolf
48ad25d4b9
Add currency sign to NumberFormatOptions type ( #40709 )
2020-10-06 16:30:09 -07:00
Daniel Rosenwasser
3766be1bde
Test indexed access to this on intersections ( #40967 )
...
* Added test.
* Accepted baselines.
2020-10-06 14:18:44 -07:00
Wesley Wigham
692502e99f
Merge pull request #40576 from weswigham/add-pyright
...
Add pyright user test
2020-10-06 13:22:27 -07:00
Wesley Wigham
87c83306dd
Use suggested command, add now-fixed log
2020-10-06 12:56:51 -07:00
Wesley Wigham
f8382d720f
Add pyright user test
2020-10-06 12:37:05 -07:00
Wesley Wigham
3df8bc6a03
Rephrase to use binarySearchKey
2020-10-06 12:29:58 -07:00
Sheetal Nandi
d94b8e42a6
Fixes calculating resolved project reference to redirect for module resolution ( #40954 )
...
* Add test for #38711
* Fixes calculating resolved project reference to redirect for module resolution
Fixes #38711
* Update src/compiler/program.ts
2020-10-06 11:23:05 -07:00
csigs
28469fb8b7
LEGO: Merge pull request 40965
...
LEGO: Merge pull request 40965
2020-10-06 11:11:19 -07:00
csigs
b2b648605b
LEGO: check in for master to temporary branch.
2020-10-06 18:10:50 +00:00
Alex T
5c55fc0a21
fix(40817): suggest import for default exported alias ( #40845 )
2020-10-06 09:52:35 -07:00
Niklas Mollenhauer
a21003dbf8
Use npm ci for nightly builds ( #40905 )
...
Using [npm ci](https://docs.npmjs.com/cli/ci.html ) keeps the builds reproducible.
In this PR, we keep the nightly build en par with the [CI build workflow](https://github.com/microsoft/TypeScript/blob/master/.github/workflows/ci.yml#L33 ) as well as the [releasable package workflow](https://github.com/microsoft/TypeScript/blob/master/.github/workflows/release-branch-artifact.yaml#L24 ).
The used package-lock.json is updated [an hour before this workflow](https://github.com/microsoft/TypeScript/blob/master/.github/workflows/update-package-lock.yaml#L7 ), there should not be any lockfile conflicts.
2020-10-06 12:52:07 -04:00
ikokostya
bd1d8e5ca2
Add definitions for WeakRef and FinalizationRegistry ( #38232 )
...
* Add definitions for WeakRef and FinalizationRegistry
Fixes #32393
* Mark callback parameter in FinalizationRegistry#cleanupSome() as optional
* Make FinalizationRegistry.prototype.cleanupSome optional
* Remove FinalizationRegistry.prototype.cleanupSome()
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2020-10-06 09:26:05 -07:00
Simon Chan
fc0eed3795
lib: remove length field from SharedArrayBuffer ( #40858 )
...
* fix(lib): SharedArrayBuffer does not have a `length` field
* Revert formatting change.
* test: add tests for SharedArrayBuffer.length
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2020-10-06 08:27:56 -07:00
Alex T
0c7d45a9ed
fix: change deprecated FunctionLike type to SignatureDeclaration ( #40795 )
2020-10-06 07:51:01 -07:00
Alex T
1e49ad8370
fix(40685): fix generating docs for arrow functions ( #40728 )
2020-10-06 07:50:08 -07:00
TypeScript Bot
66c877f57a
Update package-lock.json
2020-10-06 06:22:54 +00:00
csigs
3e6c19aee0
LEGO: Merge pull request 40958
...
LEGO: Merge pull request 40958
2020-10-05 23:11:08 -07:00
csigs
9d9dfb4567
LEGO: check in for master to temporary branch.
2020-10-06 06:10:41 +00:00
csigs
29922d092d
LEGO: Merge pull request 40956
...
LEGO: Merge pull request 40956
2020-10-05 17:11:33 -07:00
csigs
7589970b04
LEGO: check in for master to temporary branch.
2020-10-06 00:11:02 +00:00
Vincent Boivin
57661607e9
fix(40929) PromiseConstructor error message for newer versions of ECMAScript ( #40931 )
...
* Update package-lock.json
* Update package-lock.json
* Update package-lock.json
* Update package-lock.json
* Fixes #40929
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2020-10-05 16:38:12 -07:00
Wesley Wigham
da57f9876e
Improve the performance of requesting completions within a massive array literal
2020-10-05 14:42:10 -07:00
Tiago Tristao
1191e2e731
Fix class expression from being assignable if types don't match ( #40660 )
...
* Fix class expression from being assignable if types don't match
* Fix class expression from being assignable if types don't match
2020-10-05 13:21:38 -07:00
Wesley Wigham
77df9faabf
Merge pull request #40886 from weswigham/error-on-anonymous-type-with-nonlocal-unique-symbol
...
Limit when we allow nested unique symbols to be serialized
2020-10-05 11:59:45 -07:00
Andrew Branch
6ee4a6b7f0
Skip past module.exports = { Foo } in go-to-defintion on 'Foo' ( #40835 )
...
* Add test
* Skip shorthand property assignments of module.exports in go-to-definition
* Skip past shorthand property assignments in module.exports in go-to-definition
* Revert WIP change
* Fix comment typo
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2020-10-05 11:47:19 -07:00
Andrew Branch
736363b427
Use other files when necessary to determine import style in JS ( #40879 )
...
* Use other files when necessary to determine import style in JS
* Fix existing tests
2020-10-05 11:39:20 -07:00
Orta Therox
dd84bc1dc9
Handles creating a reasonable AST when destructuring into a parens'd expresssion ( #40115 )
...
* Handles creating a lgical AST when destructuring into a parens
* Adds an async example
2020-10-05 14:12:47 -04:00
csigs
82f3ac90ed
LEGO: Merge pull request 40948
...
LEGO: Merge pull request 40948
2020-10-05 11:11:17 -07:00
csigs
00894165aa
LEGO: check in for master to temporary branch.
2020-10-05 18:10:39 +00:00
TypeScript Bot
61f72f72b9
Update user baselines +cc @sandersn ( #40918 )
...
Co-authored-by: typescript-bot <typescript@microsoft.com>
2020-10-05 10:55:46 -07:00
TypeScript Bot
6e034d5ac0
Update package-lock.json
2020-10-05 06:22:47 +00:00
csigs
c7c3a87e3a
LEGO: Merge pull request 40924
...
LEGO: Merge pull request 40924
2020-10-02 23:11:15 -07:00
csigs
9a0c23e2b5
LEGO: check in for master to temporary branch.
2020-10-03 06:10:42 +00:00
Vincent Boivin
61aadc4ce2
fix(40320): Better errors when using properties/methods from newer versions of ECMAScript ( #40650 )
...
* Update package-lock.json
* Suggesting a library for a missing property/method
* Added more types and added tests
* Added more tests to cover all the latest features
* Added bigintarrays and dataview methods
* Fixed typo in template
* Transform old error message to use 2nd template slot
* Removed test that has been split up between es2015 and es2016+
* Use empty arrays and remove unnecessary function call
* merge
* Added early bail-out and updated baselines
* Implemented early bail-out (misread)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2020-10-02 16:47:37 -07:00
TypeScript Bot
420df7f12b
Update user baselines +cc @sandersn ( #40748 )
...
Co-authored-by: typescript-bot <typescript@microsoft.com>
2020-10-02 16:01:22 -07:00
Richa Deshmukh
b748484031
#40763 Fixed: Bad error message when forgetting a comma in an array of templ… ( #40907 )
...
* #40763 Bad error message when forgetting a comma in an array of template strings
* Code review fixes
2020-10-02 15:37:59 -07:00
Sheetal Nandi
fb2f3d4fd4
Do not create packagejson imports and auto import provider in partial semantic server mode ( #40890 )
2020-10-02 10:59:04 -07:00