1343 Commits

Author SHA1 Message Date
Sheetal Nandi
09f0b3471a Merge branch 'master' into ownJsonParsing 2017-06-15 09:59:37 -07:00
Daniel Rosenwasser
5b12a04965 Merge pull request #16213 from charlespierce/await_yield_literals
Update special cases for await / yield expression parsing
2017-06-15 00:39:57 -07:00
TravCav
9611e58670 combined logic in parseParameterOrPropertyTag (#16481) 2017-06-13 16:30:36 -07:00
Nathan Shively-Sanders
6d3e15f0ee Add JSDoc to EOF token to catch missed @typedefs 2017-06-13 10:32:25 -07:00
Andy
fbcddb61e2 Don't bind JSDoc namespace in a TS file (#16416) 2017-06-12 14:35:35 -07:00
Andy
09321b3834 Convert Extension to a string enum (#16425) 2017-06-09 19:32:44 -07:00
Daniel Rosenwasser
025fa87b8c Merge pull request #16382 from Microsoft/ContainsMaster
[Master] Rename & internalize PossiblyContainsDynamicImport
2017-06-08 23:57:01 -07:00
Andy
0d36d0e39f Support completions for qualified names in JSDoc (#16380)
* Support completions for qualified names in JSDoc

* Fix typo
2017-06-08 17:21:36 -07:00
Daniel Rosenwasser
86e54ac787 Correct pluralization of 'Contain' to 'Contains', made the nodeflag internal. 2017-06-08 16:00:38 -07:00
Kanchalai Tanglertsampan
58aa0f3f76 Copy PossiblyContainDynamicImport from old source file to new one 2017-06-08 14:30:56 -07:00
Andy
abb9681248 Support completions for JSDoc @param tag names (#16299)
* Support completions for JSDoc @param tag names

* Undo change to finishNode

* Don't include trailing whitespace in @param range; instead, specialize getJsDocTagAtPosition
2017-06-07 12:28:52 -07:00
Ron Buckton
8cb5333791 Verify JS function is constructor 2017-06-06 13:33:19 -07:00
Sheetal Nandi
48189c883f Merge branch 'master' into ownJsonParsing 2017-06-06 11:03:21 -07:00
Yui T
fe4fec5220 Fix breaking tests 2017-06-05 17:23:33 -07:00
Yui T
b9017795a0 Revert "Revert "[Master] wip-dynamic import" (#16264)"
This reverts commit ccc60c8b3b75476c4b11abb6ab4d2e6f06214f8f.
2017-06-05 17:16:29 -07:00
Sheetal Nandi
c4ad151a46 Merge branch 'master' into ownJsonParsing 2017-06-05 17:01:09 -07:00
Mohamed Hegazy
ccc60c8b3b Revert "[Master] wip-dynamic import" (#16264) 2017-06-05 10:49:20 -07:00
Sheetal Nandi
d680720f6d Merge branch 'master' into ownJsonParsing 2017-06-05 10:28:23 -07:00
Yui T
2f476bf22f Merge branch 'master' into master-dynamicImport 2017-06-02 09:10:20 -07:00
Yui T
e6d7327c3f Address PR: error message, fix capitalization, only allow functionLikeDeclaration and ImportCall for create Promise, use fall through comment 2017-06-01 23:21:59 -07:00
Charles Pierce
556e268bd0 #15943 #15981 Update special cases for await / yield parsing 2017-06-01 20:37:52 -07:00
Sheetal Nandi
8f4f6c565e Merge branch 'master' into ownJsonParsing 2017-06-01 10:43:41 -07:00
Nathan Shively-Sanders
928da675ac Merge pull request #16156 from Microsoft/report-jsdoc-syntax-errors
Report JSDoc syntax errors
2017-05-31 16:21:32 -07:00
Nathan Shively-Sanders
2dd6627022 Report jsdoc syntax errors when checkJs is on 2017-05-30 13:32:46 -07:00
Sheetal Nandi
8d771ca044 Merge branch 'master' into ownJsonParsing 2017-05-30 13:03:23 -07:00
Kanchalai Tanglertsampan
27078f995e Merge branch 'master' into master-fix16092 2017-05-30 08:25:53 -07:00
Yui
f938caf8c8 Merge pull request #16134 from Microsoft/master-fix15250
[Master] Fix 15250 - treat "object" and "Object" the same in JSDoc type def
2017-05-30 08:07:39 -07:00
Yui T
10eae61aca Handle "object" as "Object" in JSDoc type expression 2017-05-29 21:47:39 -07:00
Yui T
4838eff2d7 "function" without followed by "(" should be considered as Global function type 2017-05-29 20:37:01 -07:00
Yui T
fe838bab2d Parse ts-style property tag 2017-05-27 19:10:53 -07:00
Yui T
9c102461d9 Rename parameterName to name 2017-05-26 19:08:08 -07:00
Yui T
d68038ad28 Support bracket for optional property 2017-05-25 22:34:48 -07:00
Sheetal Nandi
f1ea38d127 Merge branch 'master' into ownJsonParsing 2017-05-24 12:46:29 -07:00
Kanchalai Tanglertsampan
faab927c8d Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/emitter.ts
#	src/compiler/parser.ts
#	src/compiler/transformers/module/module.ts
#	src/compiler/transformers/module/system.ts
2017-05-24 11:26:06 -07:00
Mohamed Hegazy
5ef6192c20 Allow export default interface. Related to issue 3792. (#16040)
* Allow export default interface. Related to issue 3792.

* Update exportDefaultAbstractClass test

* Allow default export to be a non-value for lookup purposes

* Add local usage to exportDefaultInterface test
2017-05-23 13:40:03 -07:00
Klaus Meinhardt
f8aae89157 Update more return types to include undefined (#15903)
* Update more return types

* Update types of forEachChild callbacks

* fix line endings
2017-05-23 09:54:02 -07:00
Andy Hanson
dc40f5d6b9 Merge branch 'master' into jsdoc 2017-05-17 07:17:32 -07:00
Klaus Meinhardt
5fb77a0901 Update return types of APIs (#15887)
* Update types.ts

* Update types in parser.ts and scanner.ts
2017-05-16 14:13:58 -07:00
Andy Hanson
38784b761a Support for JSDoc in services 2017-05-15 14:45:30 -07:00
Sheetal Nandi
ec2f9670d9 Merge branch 'master' into ownJsonParsing 2017-05-15 11:36:45 -07:00
Ron Buckton
22cf036ed9 Clean up naming, add documentation, flatten (some) nested commas 2017-05-12 09:57:39 -07:00
Ron Buckton
f45f7579fc Adds CommaList to avoid large deeply nested comma expressions 2017-05-11 23:51:20 -07:00
Sheetal Nandi
d7e9609ae5 Merge branch 'master' into ownJsonParsing 2017-05-11 09:10:35 -07:00
Joe Chung
64ea6803aa Support @arg and @argument synonyms for @param JSDoc tag
- Fix #15477
2017-05-06 22:11:38 -07:00
Yui T
feb41f7d7c Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/diagnosticMessages.json
#	src/compiler/program.ts
2017-04-26 15:35:30 -07:00
Yui T
e50667e49e Address minor PR comment 2017-04-26 15:02:54 -07:00
Yui T
2f61d472ed Address minor PR comment 2017-04-26 12:56:15 -07:00
Yui
a1a2006074 Merge pull request #15160 from Microsoft/master-jsxChildren
[Master] Type checking JSX children
2017-04-21 10:02:13 -07:00
Anders Hejlsberg
cef42c97fe Merge pull request #15104 from Microsoft/covariantCallbacks
Covariant checking for callback parameters
2017-04-18 11:35:21 -07:00
Andy Hanson
455492d887 Merge branch 'master' into fallthrough 2017-04-18 09:48:21 -07:00