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
Sheetal Nandi
1463b327fc
Merge pull request #30348 from Microsoft/nonIncrementalPrepend
...
Schedule bundle update only if project supports incremental build
2019-03-12 18:43:50 -07:00
Wesley Wigham
ddf8fad6a8
Delete webtsc gulp tasks ( #30350 )
2019-03-12 17:06:54 -07:00
Sheetal Nandi
73f6886cd7
Mark tsc.release as incremental
2019-03-12 16:14:23 -07:00
Sheetal Nandi
2477159782
Do not schedule updating bundle if the buildInfo file wont be generated for the project
...
Fixes #30346
2019-03-12 16:08:01 -07:00
Collins Abitekaniza
7b55d1846b
Giving too many arguments should error on the first argument that exceeds arity ( #27982 )
...
* span on first arg that exceeds arity
* refactor baseline
* handle cases for spread arguments
* refactor + add coverage for tuple spread cases
* create diagnostic on NodeArray of exceeding args
* test function overloading
2019-03-12 15:57:12 -07:00
Matt McCutchen
ab8153602a
Fix mixin logic to preserve at least one constructor type even when the ( #27701 )
...
intersection also contains non-constructor types.
Fixes #17388 .
2019-03-12 14:30:43 -07:00
Matt McCutchen
6c6f216d0d
Handle generic mapped types in getTypeOfPropertyOfContextualType. ( #27586 )
...
* Handle generic mapped types in getTypeOfPropertyOfContextualType.
The changes to existing baselines look acceptable to me.
Fixes #24694 .
* Minor reorganization, add test case from @yortus
2019-03-12 14:13:32 -07:00
Sheetal Nandi
ffeb38456f
Set oldestOutputFileName in uptodate status when updating just timestamps of output
...
Fixes #29875
2019-03-12 13:30:17 -07:00
Wenlu Wang
d2476759e2
add related error span for default exports ( #25396 )
...
* add related error span for default exports
* accept baseline
* stash
* accept baseline and fix lint
* update testcase
* Add missing semicolon
2019-03-12 13:15:14 -07:00
Wenlu Wang
bd27296ba6
improve stripInternal with inline comments ( #23611 )
...
* improve stripInternal with inline comments
* fix lint
* stash
* simptify StripInternal
* fix internal type declaration
* fix internal type declaration again
* accept baseline
* refactor inline
* simply prev check
* remove getTrailingCommentRangesOfNode
* Merge implementation with new isInternalDeclaration method, accept lkg-based baseline
2019-03-12 13:14:47 -07:00
Ryan Cavanaugh
b15e64feba
Merge pull request #30336 from Microsoft/update-pr-template
...
Update pull_request_template.md
2019-03-12 12:54:48 -07:00
Anders Hejlsberg
ba95fcac87
Merge pull request #30334 from Microsoft/inferenceContextCleanup
...
Revise InferenceContext implementation
2019-03-12 10:13:55 -07:00
Ryan Cavanaugh
4fb370d944
Update pull_request_template.md
2019-03-12 08:45:59 -07:00
Anders Hejlsberg
12cd995e04
Change casts to non-null assertions
2019-03-12 06:59:25 -07:00
Anders Hejlsberg
4b2fc79451
Accept new baselines
2019-03-12 06:29:40 -07:00
Anders Hejlsberg
7f90ad1155
Add tests
2019-03-12 06:29:33 -07:00
Anders Hejlsberg
de3f5f90cd
Remove redundant typeParameters property from InferenceContext
2019-03-12 06:17:33 -07:00
Wenlu Wang
b97b1a8de6
add jsx factory and hold text in jsxtext node ( #29439 )
...
* add jsx factory and hold text in jsxtext node
* update jsxtext prop name and factory
2019-03-11 16:00:18 -07:00
Anders Hejlsberg
af8cf90e49
InferenceContext has-a (not is-a) mapper and has-a new nonFixingMapper
2019-03-11 15:56:03 -07:00
Wesley Wigham
3ba5aa9f60
Add regression test for #29692 ( #30325 )
2019-03-11 15:41:05 -07:00
Wesley Wigham
ca9566fcde
Forbid contravariant inferences to conditional type branches ( #30287 )
2019-03-11 15:21:03 -07:00