Nathan Shively-Sanders
3704ad74d1
Merge pull request #6739 from Microsoft/this-function-types
...
This function types
2016-04-07 10:31:01 -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 51692736803d3f75905af695bed07249d3daf24b.
Revert "Add compiler baseline-tests for using --lib node"
This reverts commit 17e437b4c7afb5046539bc71cc32d9084b6f57a2.
2016-04-04 22:02:12 -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
Jason Ramsay
18883f9d32
Using removeComments from commandLineParser. This is more robust as it removes both single and multiline comments
2016-02-23 13:30:24 -08:00
Jason Ramsay
71bfefccb9
Switch let -> const from lint validation
2016-02-22 19:33:45 -08:00
Jason Ramsay
5b06edbc54
Addressing CR comments
...
- Adding check to ensure TypingOptions 'include' and 'exclude' arrays are composed of strings
- Allow leading whitespace when removing comments from json
2016-02-22 19:00:06 -08:00
Jason Ramsay
284d9f527c
Salsa: JS support for discovering and acquiring d.ts files
...
(Mostly isolating VS host changes from PR#6448)
2016-02-21 21:35:02 -08:00
Asad Saeeduddin
ba63a48fe1
Add declarationDir option
2016-02-20 13:28:21 -05:00
Nathan Shively-Sanders
e7aa7e4958
Merge branch 'master' into this-function-types
2016-02-16 13:57:25 -08:00
Anders Hejlsberg
26cc99b92d
Introduce -strictNullChecks compiler option
2016-02-14 18:41:38 -08:00
Vladimir Matveev
7d2ce0f5c1
fix falling tests and linter issues
...
(cherry picked from commit 7404b901b962d0673b7d4522cd961c3dd8859e9b)
2016-02-11 14:23:01 -08:00
Bill Ticehurst
9d008feba3
Added module: none as an option
...
(cherry picked from commit 195e69c8893a1b67f3a7885619d8df74b911c03a)
2016-02-11 14:09:10 -08:00
Bill Ticehurst
6a8ccd0b56
Dont default to CommonJS modules for ES6 target
...
(cherry picked from commit 4a67dc5e0823ca934eda4cd62b99bf4e7270a1dd)
2016-02-11 14:08:26 -08:00
Bill Ticehurst
ece77866e4
Do not add minified JavaScript files on file crawl
...
(cherry picked from commit fc5d94df579414192dd074771e50f805466a3417)
2016-02-11 14:07:35 -08:00
Bill Ticehurst
b93d112a8a
Fix node_modules exclude
...
(cherry picked from commit 2922bd59a6a73a99646b02e42ec40721dcb66835)
2016-02-11 14:07:35 -08:00
Bill Ticehurst
bb28424b45
Removed errors for missing module specifier
...
(cherry picked from commit f2e7f9f50f58ebe35d31e04c8f82fb37ae9dbcef)
2016-02-11 14:07:32 -08:00
Bill Ticehurst
3cf96529e7
Changed node_modules and module defaults
...
(cherry picked from commit b791fd89cdce0fd1eee7c9d1ee9c6767d2ca4ebe)
2016-02-11 14:05:24 -08:00
Mohamed Hegazy
6f804e40ef
change flag name
2016-02-05 16:30:01 -08:00
Mohamed Hegazy
1611f56481
Rename flag
2016-02-04 12:44:03 -08:00
Mohamed Hegazy
10522f9eee
Add flag to emit modules in loose mode
2016-02-03 14:16:22 -08:00
Nathan Shively-Sanders
9bd7afb143
Add new error message and strictThis flag
2016-01-29 14:39:01 -08:00