Commit Graph

26317 Commits

Author SHA1 Message Date
Ron Buckton f6f1a0dca1 Adds support for importing external helpers. 2016-06-11 00:12:04 -07:00
Vladimir Matveev c14398317a WIP - quickinfo 2016-06-10 16:56:15 -07:00
Anders Hejlsberg 4a8f94a553 Type guards using discriminant properties of string literal types 2016-06-10 16:17:32 -07:00
Ryan Cavanaugh 576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh 9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Vladimir Matveev 81905cd29e fix version related issues 2016-06-10 15:38:11 -07:00
Vladimir Matveev 8bed8f3eb5 Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-10 14:56:27 -07:00
Wesley Wigham d20459607b Remove single-comma empty array form 2016-06-10 14:35:13 -07:00
Wesley Wigham a3a1c49739 Allow empty lists on command line 2016-06-10 14:14:32 -07:00
Nathan Shively-Sanders 642583771d Salsa: get members of variables whose initialisers are functions 2016-06-10 14:10:30 -07:00
tinza123 85ac67f4ee check the declaration and use order if both are not in module file 2016-06-10 11:07:01 -07:00
Mohamed Hegazy 97d7aa5fb5 Merge pull request #9042 from Microsoft/ES6ModulesES5Target
Fix #6319: Add support for `--t: es5` and  `--m es6`
2016-06-10 10:23:39 -07:00
Andy Hanson d973f4d701 Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:08:16 -07:00
Andy Hanson ff6e025e8a Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:03:54 -07:00
zhengbli 1e7790df06 Fix #8523 2016-06-10 03:44:44 -07:00
zhengbli e41b10bbc7 add test and spit commandLineParser changes to another PR 2016-06-10 02:06:31 -07:00
Jonathan Toland 6923cba29a Update more diagnostic messages ES6->2015
Fix #8996 CC @mhegazy.
2016-06-09 18:06:35 -10:00
zhengbli 4383f1a15f Refactoring 2016-06-09 16:28:42 -07:00
Nathan Shively-Sanders 2b46656b4a Merge pull request #9061 from Microsoft/fix-this-resolution-in-parameter-initializers
Fix this resolution in parameter initializers
2016-06-09 16:20:45 -07:00
Nathan Shively-Sanders 86a6959e2a Merge branch 'master' into primitive-type-guards-are-order-independent 2016-06-09 15:56:34 -07:00
Nathan Shively-Sanders a1e4b31d16 Allow null/undefined guard with null/undefined on left
Also add a test with baselines.
2016-06-09 15:48:35 -07:00
Sheetal Nandi a4991b9e98 Merge pull request #9057 from Microsoft/sourceRootWithInlineSources
Allow --sourceRoot with --inlineSources option
2016-06-09 15:38:21 -07:00
zhengbli d387050aaa Fix merging issues and multiple project scenario 2016-06-09 15:30:55 -07:00
Nathan Shively-Sanders e307295fb9 Resolve function-this in parameter initialisers when explicitly provided 2016-06-09 15:20:51 -07:00
Yui 574a64dec9 Fix7334 Disallow async in functionExpression and ArrowFunction (#9062)
* Error when using async modifier in function-expression and arrow-function when target es5

* Add tests and baselines
2016-06-09 15:01:08 -07:00
zhengbli 94d44ad81d Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/commandLineParser.ts
#	src/compiler/program.ts
#	src/compiler/sys.ts
#	src/compiler/types.ts
#	src/server/editorServices.ts
#	src/server/session.ts
2016-06-09 14:58:28 -07:00
Vladimir Matveev b9729a79fc switch to use explicit list of open files 2016-06-09 13:55:08 -07:00
Andy 9ffd00d6ff Merge pull request #8939 from Microsoft/pattern_ambient_modules
Allow wildcard ("*") patterns in ambient module declarations
2016-06-09 13:08:02 -07:00
Andy Hanson a88366d338 Merge branch 'master' into shorthand_ambient_module 2016-06-09 12:52:15 -07:00
Andy 302cea85ec Merge pull request #9054 from Microsoft/quick_info_meaning
Use proper method of not resolving alias
2016-06-09 12:37:05 -07:00
Nathan Shively-Sanders 0c64b0c24e this in parameter initializers resolves to class
Accept baselines now that the test passes.
2016-06-09 12:30:28 -07:00
Sheetal Nandi b521fd55a4 Allow --sourceRoot with --inlineSources option
Fixes #8445
2016-06-09 11:51:53 -07:00
Andy Hanson 75c1d77606 Merge branch 'master' into shorthand_ambient_module 2016-06-09 11:43:18 -07:00
Andy 512c6719ae Merge pull request #8895 from Microsoft/strip_extension
Allow an import of "foo.js" to be matched by a file "foo.ts"
2016-06-09 11:38:26 -07:00
Andy Hanson 03371c0e6f Improve perf 2016-06-09 11:12:12 -07:00
Andy Hanson 5e72b8a098 Undo change 2016-06-09 10:58:38 -07:00
Andy Hanson 7a2ef428cd Contextually type return statement in async function 2016-06-09 10:55:45 -07:00
Vladimir Matveev 5fe6bd4366 reduce max used values for flags to prevent smi overflows 2016-06-09 10:12:06 -07:00
Andy 75b82938f5 Merge pull request #8988 from Microsoft/transpile_options
Support using string values in enums for CompilerOptions in transpile
2016-06-09 09:04:23 -07:00
Andy Hanson 9ef9b743d1 Fix module loading error
(commandLineOptions_stringToEnum would be undefined if optionDeclarations wasn't loaded yet)
2016-06-09 08:22:58 -07:00
Andy Hanson b08fe6f4f6 Use proper method of not resolving alias 2016-06-09 08:00:21 -07:00
Anders Hejlsberg 9e122909d4 Merge pull request #9031 from Microsoft/typeGuardIntersectionTypes
Type guard intersection types
2016-06-08 22:14:19 -07:00
Vladimir Matveev e817faabfe fix typo 2016-06-08 19:15:56 -07:00
Vladimir Matveev 8ff0febabe adjust check when content should be used 2016-06-08 18:40:40 -07:00
Mohamed Hegazy 6446827886 addExportToArgumentListKind 2016-06-08 16:54:24 -07:00
Vladimir Matveev 38b5eed062 [WIP] fix typo, make response mandatory 2016-06-08 16:48:14 -07:00
Mohamed Hegazy 8360bc7961 Add handleing for classes 2016-06-08 16:43:56 -07:00
Vladimir Matveev 8c33c15bc6 Merge remote-tracking branch 'origin/master' into tsserverVS-WIP 2016-06-08 16:43:01 -07:00
Anders Hejlsberg b3c5c1db23 Merge pull request #9013 from Microsoft/typeGuardNestedAssignment
Allow nested assignments in type guards
2016-06-08 16:26:07 -07:00
Anders Hejlsberg aeb1d97ced Merge pull request #8949 from Microsoft/strictNullLogicalAnd
Improve typing of && operator with --strictNullChecks
2016-06-08 16:24:51 -07:00