708 Commits

Author SHA1 Message Date
Sheetal Nandi
103fe5fbc5 Merge branch 'master' into referencesPrototypeSourceFile
Uptodate to 3.6.0-dev.20190711
2019-07-11 12:05:36 -07:00
Sheetal Nandi
b631850978 Add option disableSourceOfProjectReferenceRedirect to disable using sources of project reference redirect from editor 2019-07-10 15:49:53 -07:00
Ron Buckton
e8bf9584aa
Improve type checking and inference for Generators and Async Generators (#30790)
* Improve typing for Generators and Async Generators

* Add TReturn and TNext to Iterator, IterableIterator, etc.

* Update ts internal Iterator to be assignable from global Iterator

* Make 'done' optional in IteratorYieldResult

* Revert Iterable and IterableIterator to simpler versions plus other fixes

* Add additional inference tests

* Added additional tests

* PR cleanup and minor async iteration type fix

* Updated diagnostics message and added non-strict tests

* Fix expected arity of Iterator/AsyncIterator
2019-07-03 21:55:59 -07:00
Austin Cummings
4195f1a409 Add affectsEmit to module and esModuleInterop options 2019-06-28 17:51:05 -07:00
Sheetal Nandi
b32afb55d1
Merge pull request #31985 from microsoft/buildInfoData
Make paths in tsbuildinfo file to be relative to the file
2019-06-27 12:49:52 -07:00
Sheetal Nandi
06d188a255 Support --locale with --build
Fixes #31960
2019-06-19 15:38:05 -07:00
Sheetal Nandi
9446fc0c0c Convert options to relative paths 2019-06-19 12:54:22 -07:00
Sheetal Nandi
5c21fad12f
Merge pull request #31432 from microsoft/builderAPI
Api for tsc --build and --incremental
2019-06-05 12:31:00 -07:00
Sheetal Nandi
43c7eb77e1 Switch to using File not found message instead of trace message file does not exit
Fixes #30872
2019-05-21 09:43:40 -07:00
Sheetal Nandi
b3dac18679 Merge branch 'master' into builderAPI 2019-05-09 16:07:47 -07:00
Sheetal Nandi
5c18513e96 Make SolutionBuilder as Public API 2019-05-02 15:36:15 -07:00
Sheetal Nandi
aa0e64afc9
Merge pull request #31216 from ajafff/parsejsonconfigfilecontent-configcache
parseJsonConfigFileContent: add extendedConfigCache parameter
2019-05-02 12:48:23 -07:00
Klaus Meinhardt
883b00df35 parseJsonConfigFileContent: add extendedConfigCache parameter 2019-05-02 21:24:58 +02:00
Sheetal Nandi
45d72d077f Fix accidental internal parameter to public API 2019-05-02 11:07:36 -07:00
Kagami Sascha Rosylight
49d6f61298 Add ES2019 Object.fromEntries function (#30934)
* add ES2019 Object.fromEntries function

* add some comments

* apply suggested changes

* add readonly and general any
2019-04-30 09:49:58 -07:00
Sheetal Nandi
9efea31649
Merge pull request #31101 from Microsoft/cacheParseConfigFile
Caching results of parsing Config file and extended file
2019-04-30 09:33:33 -07:00
Sheetal Nandi
1e22110991 Merge branch 'master' into cacheParseConfigFile 2019-04-29 13:08:30 -07:00
Sheetal Nandi
fb21e70d71 Target affects emit hence mark the option so that all files are reemitted when target changes
Fixes #31118
2019-04-29 13:05:31 -07:00
Sheetal Nandi
d4c2fdc6fd Make changes to public API 2019-04-26 13:59:04 -07:00
Kagami Sascha Rosylight
1a75d525fa add ES2020 matchAll APIs (#30936) 2019-04-25 14:11:50 -07:00
Sheetal Nandi
80f1ba4e42 Cache files extended so we arent calculating the config again and again 2019-04-24 15:51:27 -07:00
Andrew Branch
b6a0988052
Merge pull request #30776 from andrewbranch/feature/10178
Add flag to allow access to UMD globals from modules
2019-04-18 18:05:44 -07:00
Sheetal Nandi
15ae8a7273 Make sure to emit again if change in compiler option affects emit
Fixes #30736
2019-04-16 16:18:37 -07:00
Andrew Branch
98cd89fbc1
Add affectsSemanticDiagnostics to flag (and move to right spot) 2019-04-08 09:46:48 -07:00
Andrew Branch
2ee93bf0f2
Add allowUmdGlobalAccess flag 2019-04-08 09:46:46 -07:00
Sheetal Nandi
35470b3f3b Make tsbuildInfoFile as commandline option to tsc (and not tsc -b) 2019-03-25 14:47:36 -07:00
Sheetal Nandi
34c3233d18 Allow --incremental to be command line option 2019-03-20 14:48:47 -07:00
Sheetal Nandi
cd195c91c6 Add options tsBuildInfoFile to provide name for the buildinfo file 2019-03-01 10:28:57 -08:00
Sheetal Nandi
d53efdf380 Changes to generation of .tsbuildinfo:
- If composite or incremental then only the .tsbuildinfo will be generated
- if --out or --outFile the file is outputFile.tsbuildinfo
- if rootDir and outDir then outdir/relativePathOfConfigFromRootDir/configname.tsbuildinfo
- if just outDir then outDir/configname.tsbuild
- otherwise config.tsbuildinfo next to configFile
2019-02-28 13:46:26 -08:00
Sheetal Nandi
9fa28158bb Enable building typescript.d.ts with current source 2019-02-22 18:11:27 -08:00
Kagami Sascha Rosylight
13c72b786e Merge remote-tracking branch 'upstream/master' into es2019 2019-02-08 06:55:56 +09:00
Kagami Sascha Rosylight
b3c179540a String.prototype.{trimStart,trimEnd} hit stage 4 2019-02-08 00:51:23 +09:00
Kagami Sascha Rosylight
f525a89e87 Array.prototype.{flat,flatMap} hit stage 4 2019-02-08 00:10:34 +09:00
Kagami Sascha Rosylight
40a4bd0a95 revive esnext.symbol 2019-02-07 10:45:44 +09:00
Kagami Sascha Rosylight
a8823f5169
Merge branch 'master' into es2019 2019-02-07 10:08:26 +09:00
Kagami Sascha Rosylight
5a6dc081f6 revive esnext.asynciterable 2019-02-07 10:01:36 +09:00
Kagami Sascha Rosylight
2c4589d5a9 Merge remote-tracking branch 'upstream/master' into async-es2018 2019-02-07 09:51:26 +09:00
Matthew Aynalem
f30e8a284a fix spelling errors 2019-01-27 20:33:33 -08:00
Kagami Sascha Rosylight
1d8a2ea38c Symbol.prototype.description hit stage 4 2019-01-06 11:42:55 +09:00
Kagami Sascha Rosylight
c89a80736e add ES2019 target 2018-12-27 19:46:21 +09:00
Kagami Sascha Rosylight
60996b5bed Merge remote-tracking branch 'upstream/master' into async-es2018 2018-12-26 17:15:03 +09:00
Wesley Wigham
2109c34a8c
Merge pull request #28856 from weswigham/showConfig-exhaustive-test
Fix paths showConfig, exhaustively test showConfig
2018-12-04 23:19:35 -08:00
Wesley Wigham
19de47f2db
Fix paths showConfig, exhaustively test showConfig 2018-12-04 16:24:25 -08:00
r7kamura
0f5121df9f Add terminating newline to generated tsconfig.json
This commit adds a terminating newline to tsconfig.json
generated by `tsc --init`, just like `npm init`'s package.json.

The main reason I created this pull request is for editor friendliness.
Recently I created a new TypeScript project with `tsc --init`,
then I modified some compilerOptions and tried to git-commit the change,
but I found a newline was automatically added by my editor.

I think it's better that the default tsconfig.json template has a
terminating newline.
2018-12-01 03:07:11 +09:00
Wesley Wigham
9319ea4941
--showConfig files list condition was inverted from what it needed to be (#28693)
* --showConfig files list condition was inverted from what it needed to be

* Make no assumptions about file list normalization

* accept updated, correct, baseline
2018-11-28 14:01:02 -08:00
Sheetal Nandi
99d357db57 Enable statistics reporting per program through temporary build api 2018-11-19 12:38:36 -08:00
Daniel Rosenwasser
25462beeb7
Merge pull request #28456 from Microsoft/nonExperimentalBigInt
BigInt shouldn't be considered experimental
2018-11-12 15:59:15 -08:00
Michael Tang
4e0bb7a80a
Fix typo comment 2018-11-11 19:03:46 -08:00
Kagami Sascha Rosylight
7017d1a9ef
Merge branch 'master' into async-es2018 2018-11-12 11:04:21 +09:00
Daniel Rosenwasser
f7ad54b432 Only complain about BigInt literals in pre-ESNext targets. 2018-11-09 16:20:54 -08:00