Commit Graph
266 Commits
Author SHA1 Message Date
Anders Hejlsberg db109d1a7f Add --skipLibCheck compiler option 2016-05-21 17:44:37 -07:00
zhengbli 9c92ec3a55 exclude outDir and add more default excludes 2016-05-19 16:10:04 -07:00
Yui b68e93966a Fix 8482: Add Object.values and Object.entries (#8538)
* Add es2017.Object library file

* Add tests and baselines

* Fix unittest

* Add es2017 lib flag

* Update baselines

* Add tests and baselines

* Address PR: add tests

* Address PR: add tests
2016-05-10 14:22:00 -07:00
Paul van Brenk fad25747a7 Merge pull request #8469 from Microsoft/tsconfigParsingImprovements
Add propertybag to parsed tsconfig.json file.
2016-05-06 13:33:01 -07:00
Paul van Brenk 8aff38e128 Add the entire tsconfig as a raw property to the parsed config. 2016-05-06 10:12:12 -07:00
zhengbli 076fe48c3a Add unit tests for tsconfig file list parsing 2016-05-05 14:49:41 -07:00
zhengbli fdc7037bfc ignore dotted files and folders 2016-05-05 13:06:12 -07:00
Paul van Brenk c866996f30 CR Feedback 2016-05-04 16:17:08 -07:00
Paul van Brenk 4bc2314cbe Add propertybag to parsed tsconfig.json file.
This allows consumers of the LS to read properties added to the tsconfig.json
without having to worry about dealing with comments.
2016-05-04 14:50:58 -07:00
Mohamed Hegazy b4baee492f Polyfill String.prototyp.fill 2016-05-03 14:52:41 -07:00
Vladimir Matveev e5e7d47782 merge with origin/master 2016-04-08 14:38:47 -07:00
Paul van Brenk 58efc2ee05 Merge pull request #7883 from Microsoft/listEmittedFiles2
Add option to list the emitted files as part of the compiler output.
2016-04-07 17:50:26 -07:00
Paul van Brenk 097adc6b3a Remove message from 'help' 2016-04-07 16:47:52 -07:00
Nathan Shively-Sanders 3704ad74d1 Merge pull request #6739 from Microsoft/this-function-types
This function types
2016-04-07 10:31:01 -07:00
Vladimir Matveev 46d28f16cc added supports for 'types' compiler option 2016-04-06 13:49:25 -07:00
Paul van Brenk 5363b2d7ad Add option to list the emitted as part of the compiler output.
This is useful for incremental build scenarios.
2016-04-06 13:25:29 -07:00
Vladimir Matveev e2a23fd598 remove compilationRoot parameter, use typesRoot/config file location as a root when computing primary locations 2016-04-05 16:33:11 -07:00
Yui 11887ccc29 Adjustmodularize lib
* Merge array, function, math, number, object, regexp, string into es2015.core

* Update baselines

* Add node.d.ts; need to fix head of the output

* Update unittests from add node as an option for --lib

* Move interface declaration into NodeJS namespace

* Add console into Node.d.ts

* Add compiler baseline-tests for using --lib node

* Change name from full.es2015 to es6. This is a es6 library file used when no --lib is specified and --target is es6

* Remove add node.d.ts into src/lib

Remove node.d.ts

Revert "Update unittests from add node as an option for --lib"

This reverts commit 5169273680.

Revert "Add compiler baseline-tests for using --lib node"

This reverts commit 17e437b4c7.
2016-04-04 22:02:12 -07:00
Vladimir Matveev aaaa9c0895 expose type reference resolution for external consumption 2016-04-01 12:41:01 -07:00
Ryan Cavanaugh 75922c4056 Address CR 2016-04-01 12:19:40 -07:00
Nathan Shively-Sanders ce68932475 Merge branch 'master' into this-function-types 2016-03-31 10:46:03 -07:00
Nathan Shively-Sanders e4ed7f904e Address PR comments 2016-03-30 15:01:16 -07:00
Yui 68bdbe04e7 Merge pull request #7715 from Microsoft/6974AddLibImplementation
6974 add lib implementation
2016-03-30 14:22:41 -07:00
Yuichi Nukiyama e461d12cf9 change error message 2016-03-29 06:40:34 +09:00
Kanchalai Tanglertsampan 3fef5ba458 Implement --lib flag in the compiler and harness 2016-03-28 14:20:29 -07:00
Nathan Shively-Sanders 9e5f26048b Merge branch 'master' into this-function-types 2016-03-28 10:12:25 -07:00
Yuichi Nukiyama b16f8e1be4 Throw error when tsconfig.json has excludes without exclude property 2016-03-28 21:23:59 +09:00
Nathan Shively-Sanders a91cdccfc5 Add --noImplicitThis flag
It's basically another --noImplicitAny error, but one that would break
large amount of JavaScript-style code.
2016-03-25 16:37:28 -07:00
Nathan Shively-Sanders c9f5f3d67e Remove --strictThisChecks 2016-03-25 15:41:37 -07:00
Anders Hejlsberg 3853bb86d0 Merge pull request #7140 from Microsoft/strictNullChecks
Non-nullable types
2016-03-21 16:52:43 -07:00
Anders Hejlsberg 413d9a639f Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
	tests/baselines/reference/typeGuardOfFormTypeOfEqualEqualHasNoEffect.symbols
	tests/baselines/reference/typeGuardOfFormTypeOfNotEqualHasNoEffect.symbols
2016-03-21 16:21:02 -07:00
Vladimir Matveev 497b4c341c revert changes in the signature of 'convertCompilerOptionsFromJson' 2016-03-19 20:59:32 -07:00
Kanchalai Tanglertsampan 9e2df0459e Address PR 2016-03-16 16:35:51 -07:00
Kanchalai Tanglertsampan 266a92b1f3 Address PR 2016-03-16 15:29:13 -07:00
Kanchalai Tanglertsampan f7a55fa5a2 Remove --lib 2016-03-16 14:08:49 -07:00
Kanchalai Tanglertsampan 92bee6a533 Unify error message for custom-type compiler option 2016-03-16 13:49:36 -07:00
Kanchalai Tanglertsampan 4d915e59d9 Using ts.filter instead of just .filter 2016-03-15 17:04:18 -07:00
Kanchalai Tanglertsampan 95b43dac29 Handle default compiler-options and typing-options 2016-03-15 16:30:11 -07:00
Kanchalai Tanglertsampan f4e920e2c1 Add unittest for testing convert compiler-options and typing-options 2016-03-15 11:45:21 -07:00
Kanchalai Tanglertsampan 157b8e7456 Add a new unittest for command line parsing for --lib 2016-03-15 11:44:33 -07:00
Kanchalai Tanglertsampan be0592da3b Add correct options for --lib 2016-03-14 15:53:42 -07:00
Kanchalai Tanglertsampan eb82824697 Chagne specifies -> specify 2016-03-14 15:49:29 -07:00
Mohamed Hegazy 0735f465f0 Add support for list types
consolidate typings options and commmandline option parsing from json files

Fix
2016-03-14 15:28:49 -07:00
Mohamed Hegazy 3adab0cec3 revert 2016-03-14 14:42:43 -07:00
Nathan Shively-Sanders 1032cc5408 Rename --strictThis to --strictThisChecks
Use the upcoming naming scheme for --strict.*Checks and --strictChecks
flags.
2016-03-11 13:24:31 -08:00
Nathan Shively-Sanders fa22250110 Merge branch 'master' into this-function-types 2016-03-09 13:36:42 -08:00
Anders Hejlsberg cf9e08b75c Merge branch 'master' into strictNullChecks
Conflicts:
	src/compiler/checker.ts
2016-03-09 13:00:59 -08:00
jramsay de47fcc113 Merge pull request #7179 from Microsoft/jsTypingForAcquireDts
Salsa: JS support for discovering and acquiring d.ts files
2016-03-02 11:10:12 -08:00
Jason Ramsay b3ceea3b3d - replacing TryParseJson with existing readConfig
- push error for invalid enableAutoDiscovery option
- adding interfaces for jsons
- removing updateNotFoundTypings
- node_modules normalize file names before using
- adding safeListPath to discoverTypings
2016-03-01 11:50:27 -08:00
zhengbli 5981d8e60c CR feedback 2016-02-26 14:27:37 -08:00