Sheetal Nandi
e5521630fb
Merge pull request #30439 from Microsoft/forceBuild
...
Passing --force option to build, builds project from start
2019-03-18 11:15:25 -07:00
Gabriela Britto
10b9051624
Fix convert to named parameters rest parameter tuple ( #30286 )
...
* check if rest parameter is of tuple type in isOptionalParameter
* expose isArrayType and isTupleType in checker
* don't offer refactor if rest parameter type is neither array nor tuple type
* add tests for rest parameters
* fix tests for renamed refactor
* remove unnecessary conditional operator
2019-03-18 10:31:38 -07:00
TypeScript Bot
d8591a82df
Update user baselines ( #30463 )
2019-03-18 09:21:16 -07:00
Masahiro Wakame
18b8625ef8
fix error on globalThis type extend ( #30460 )
...
* Add test for extend globalThis
* Fix compile aborting
2019-03-18 09:18:27 -07:00
Anders Hejlsberg
d0646a629a
Merge pull request #30084 from dragomirtitian/GH-26563
...
Improved argument description for parameters originating from tuples
2019-03-18 06:14:52 -10:00
Anders Hejlsberg
02963b4e17
Merge pull request #30443 from Microsoft/fixTypeInferenceLogicError
...
Fix logic error introduced in #30334
2019-03-18 08:49:16 -07:00
Anders Hejlsberg
36cf12fe0a
Merge pull request #30363 from Microsoft/fixTypeParameterPromotion
...
Higher order type parameter promotion fixes
2019-03-18 08:48:03 -07:00
Anders Hejlsberg
e9eb73bfe6
Accept new baselines
2019-03-17 17:39:16 -10:00
Anders Hejlsberg
b6aff98fd7
Add test relating type predicates with and without this parameters
2019-03-17 17:39:08 -10:00
Anders Hejlsberg
3dd0814069
Make IdentifierTypePredicate.parameterIndex index into signature.parameters
2019-03-17 15:58:13 -10:00
Nathan Shively-Sanders
658798032b
Fix globalThis completions ( #30441 )
...
* Fix, but with test not quite right
* Add missing completions to test
* Remove out-of-date comment
2019-03-15 19:10:39 -07:00
Anders Hejlsberg
084d14a399
Fix logic error introduced in #30334
2019-03-15 15:57:22 -10:00
Sheetal Nandi
52641c531a
Passing --force option to build, builds project from start
2019-03-15 16:04:10 -07:00
Sheetal Nandi
cabf72b514
Revert "Passing --force option to build, builds project from start"
...
This reverts commit 434fa94bdc
.
2019-03-15 16:03:36 -07:00
Sheetal Nandi
434fa94bdc
Passing --force option to build, builds project from start
2019-03-15 16:02:00 -07:00
Sheetal Nandi
3b607df658
Merge pull request #30437 from Microsoft/validSourceFile
...
Add more information when getValidSourceFile cant find the file in question.
2019-03-15 15:46:29 -07:00
Sheetal Nandi
e78f52d246
Add more information when getValidSourceFile cant find the file in question.
...
Log for #30180
2019-03-15 15:03:45 -07:00
Nathan Shively-Sanders
0f598db3e5
Fixes #29524 , a merged UMD-global ( #30403 )
...
This kind of merged symbol causes crashes in two places because it's
marked BlockScoped, which makes us assume that it must be something that
is inside a SourceFile. However, block-scoped checks don't make sense
for this kind of symbol, so I exclude them by looking at the kind of
the valueDeclaration, as @mprobst suggested in the original bug.
2019-03-15 09:45:33 -07:00
Wesley Wigham
563593b8be
Enable better error spans for async functions ( #30413 )
2019-03-14 17:10:42 -07:00
Sheetal Nandi
81ed511de2
Merge pull request #30402 from Microsoft/resolveJsonModule
...
Handle json files included in the project from project reference redirect
2019-03-14 15:50:18 -07:00
Sheetal Nandi
b7c8e0951d
Merge branch 'master' into resolveJsonModule
2019-03-14 15:13:39 -07:00
Sheetal Nandi
da48790dac
Merge pull request #30410 from Microsoft/fixNonDeterministicTest
...
Fix non deterministic test of tsbuild
2019-03-14 14:36:52 -07:00
Sheetal Nandi
03aee92782
PR feedback
2019-03-14 14:15:06 -07:00
Sheetal Nandi
34ea77f674
Pass time to the vfs of resolveJsonModule
2019-03-14 14:02:53 -07:00
Sheetal Nandi
5afa0d4dbb
Merge pull request #30409 from Microsoft/betterDiagnostics
...
Display actual and expected diagnostic messages when they dont match
2019-03-14 13:59:22 -07:00
Gabriela Britto
1c8a359914
rename convert to named parameters ( #30401 )
2019-03-14 13:41:29 -07:00
Sheetal Nandi
b67f6ec710
Display actual and expected diagnostic messages when they dont match
2019-03-14 13:18:06 -07:00
Sheetal Nandi
7ab2ad7959
Merge pull request #30404 from Microsoft/correctBuilder
...
Use EmitAndSemanticDiagnosticsBuilder in builder from tsc
2019-03-14 13:08:50 -07:00
Sheetal Nandi
a571e50143
Use EmitAndSemanticDiagnosticsBuilder in builder from tsc
2019-03-14 11:54:47 -07:00
Sheetal Nandi
bd229b5ed1
Exclude Json files from Project reference redirects from files to be emitted list
...
Fixes #30382
2019-03-14 11:22:26 -07:00
Sheetal Nandi
a6f7ec3464
Handle outDir and declrationDir correctly to generate output file names for the tsbuild
2019-03-14 10:00:55 -07:00
Gabriela Britto
7824fbc395
Merge pull request #30383 from Microsoft/fixFindAllRefsOfDefaultExport
...
Fix find all refs of default export
2019-03-14 09:39:06 -07:00
Sheetal Nandi
8b04143675
Merge pull request #30380 from Microsoft/completionsWhileWritingSpread
...
Fix completions when writing spread expression
2019-03-14 09:38:50 -07:00
Sheetal Nandi
2961bc3fc0
Merge pull request #30384 from Microsoft/completionsInTypeParameter
...
Add extends of type parameter as type only location for completions
2019-03-13 18:07:31 -07:00
Gabriela Araujo Britto
b29ed70ddb
Merge branch 'master' into fixFindAllRefsOfDefaultExport
2019-03-13 16:04:23 -07:00
Sheetal Nandi
342616781e
Merge pull request #30381 from Microsoft/mapConstructor
...
Fix map constructor to accept readonly tuple
2019-03-13 15:24:22 -07:00
Sheetal Nandi
526eda8f18
Add extends of type parameter as type only location for completions
...
Fixes #28511
2019-03-13 15:22:33 -07:00
Wesley Wigham
5d08b68122
Fix react-redux break on DT ( #30375 )
...
* Forbid reentrancy in conditional type creation (force deferal on occurance)
* Add repro from react-redux, accept updated baselines
2019-03-13 15:21:46 -07:00
Gabriela Araujo Britto
66e2c54fe5
add tests for finding references of named and default exports
2019-03-13 15:11:33 -07:00
Gabriela Araujo Britto
c130fde79e
fix check for default export
2019-03-13 15:10:54 -07:00
Sheetal Nandi
e42f37fccd
Merge pull request #30374 from Microsoft/jsonSourceFile
...
Correct the generation of output file names for tsc --b
2019-03-13 15:00:59 -07:00
Sheetal Nandi
027d65a920
Fix map constructor to accept readonly tuple
...
Fixes #29721
2019-03-13 14:52:58 -07:00
Sheetal Nandi
4e0514db0e
Merge pull request #30376 from Microsoft/recursiveSymLinks
...
Handle recursive symlinks when matching file names
2019-03-13 14:28:17 -07:00
Sheetal Nandi
12d736f0a4
Fix completions when writing spread expression
...
Fixes #29234
2019-03-13 14:25:43 -07:00
Sheetal Nandi
b6d520a7a5
Handle recursive symlinks when matching file names
...
Fixes #28842
2019-03-13 12:30:47 -07:00
Sheetal Nandi
812ff98f61
Correct the generation of output file names for tsc --b
...
Fixes #30356
2019-03-13 11:23:14 -07:00
Sheetal Nandi
b762d6205e
Merge pull request #30344 from Microsoft/uptoDate
...
Set oldestOutputFileName in uptodate status when updating just timestamps of output
2019-03-13 10:54:59 -07:00
Sheetal Nandi
8800cc2d15
Merge pull request #30288 from Microsoft/nonModuleNonPrepend
...
Add output declaration files from referenced project into program if module: none
2019-03-13 10:54:35 -07:00
Anders Hejlsberg
e7afa6c0a9
Accept new baselines
2019-03-13 06:51:39 -07:00
Anders Hejlsberg
fd0d477519
Add test
2019-03-13 06:51:13 -07:00