Nathan Shively-Sanders
e9e7fcecbd
Merge pull request #12501 from HerringtonDarkholme/non-primitive
...
Fix #1809 , introduce non primitive object type
2017-01-06 09:51:08 -08:00
rbuckton
4098058907
Merge branch 'master' into es6-new-target
2016-12-28 13:41:44 -08:00
Mohamed Hegazy
e4b81d0331
Merge pull request #13006 from SaschaNaz/lintfix
...
Fix latest tslint errors
2016-12-26 11:24:25 -08:00
Nathan Shively-Sanders
88ef816a49
Merge branch 'master' into spread-jsx-expression-children
2016-12-22 14:12:44 -08:00
Herrington Darkholme
db9dd387b1
enable parsing
2016-12-22 10:05:06 +08:00
Ron Buckton
5f32d3ba03
Merge branch 'master' into es6-new-target
2016-12-19 11:39:33 -08:00
Kagami Sascha Rosylight
2a941a7222
inline length
2016-12-20 03:12:35 +09:00
Kagami Sascha Rosylight
27a60e4580
fix linting errors
2016-12-18 15:44:54 +09:00
Kārlis Gaņģis
aa4a0b6469
Fixed jsDoc parser - no longer omits asterisks in the middle (if the line does not start with asterisk) and additional case for whitespaces being ignored
2016-12-13 00:05:16 +02:00
Kārlis Gaņģis
19070648eb
Added test for https://github.com/Microsoft/TypeScript/issues/12236
2016-12-12 22:33:45 +02:00
Kārlis Gaņģis
05b17255f6
Fixed missing whitespace in jsDoc comments. Fixes https://github.com/Microsoft/TypeScript/issues/12236
2016-12-12 21:40:00 +02:00
Ron Buckton
6a1ccd8de4
Adds support for new.target
2016-12-08 17:31:18 -08:00
Anders Hejlsberg
c89b1eb9e9
Merge pull request #12386 from mariusschulz/union-and-intersection-types-with-leading-operator
...
Union and intersection types with leading operator
2016-11-28 15:57:24 -08:00
Ryan Cavanaugh
6a5682c4a3
Support JSDoc @augments tag
...
Fixes #12428
2016-11-22 10:52:47 -08:00
Marius Schulz
cd70f22b88
Add “|” and “&” to list of tokens that start a type
2016-11-20 10:48:03 +01:00
Marius Schulz
443abe5373
Allow one leading ignored “|” or “&” in a type position
2016-11-19 22:30:18 +01:00
Nathan Shively-Sanders
91e6bce34c
Address PR comments
2016-11-18 15:44:15 -08:00
Nathan Shively-Sanders
eaf2f6ce69
Merge branch 'master' into getJSDoc-cleanup
2016-11-16 15:52:01 -08:00
Ron Buckton
0dd96f52e8
Merge branch 'master' into streamlineDestructuring
2016-11-15 13:38:56 -08:00
Nathan Shively-Sanders
0cda239e1c
Merge pull request #12156 from Microsoft/fix-jsdoc-missing-space-from-bad-indent
...
Fix jsdoc missing space from bad indent
2016-11-14 08:21:40 -08:00
Nathan Shively-Sanders
b8082caa8e
Clean up jsdoc in utilities
...
Fix functions that were unused (getJsDocComments), redundant (append) or badly named
(getJSDocCommentsFromText)
2016-11-11 15:58:52 -08:00
Anders Hejlsberg
1c7ec6b8ce
Add missing node visits in forEachChild
2016-11-11 07:38:44 -08:00
Nathan Shively-Sanders
973d83ce93
Merge branch 'master' into fix-jsdoc-missing-space-from-bad-indent
2016-11-10 13:12:32 -08:00
Nathan Shively-Sanders
8bd0a47c82
Retain space after first word in multiline jsdoc
...
For words that were shorter than the jsdoc indent level, the space was
omitted previously.
2016-11-10 13:11:32 -08:00
Anders Hejlsberg
64d269885c
Merge branch 'master' into mappedTypes
...
# Conflicts:
# src/compiler/checker.ts
2016-11-10 11:17:53 -08:00
Sheetal Nandi
c458576553
Merge pull request #12135 from Microsoft/jsxFactory
...
Support for --jsxFactory option
2016-11-10 09:49:57 -08:00
Sheetal Nandi
f7bac98948
Verify that jsxFactory is either identifier or qualified name
2016-11-09 14:32:42 -08:00
Nathan Shively-Sanders
609cd0016b
Merge branch 'object-spread' into object-rest
2016-11-07 11:10:29 -08:00
Nathan Shively-Sanders
a84c7aeea4
Rename SpreadElementExpression -> SpreadAssignment
...
and SpreadExpression (formerly SpreadElementExpression) -> SpreadElement
2016-11-07 08:36:03 -08:00
Anders Hejlsberg
d1a8af5320
Parse '[P in K]' part of mapped type as a type parameter declaration
2016-11-03 14:35:27 -07:00
Nathan Shively-Sanders
7ff8876096
Merge branch 'object-spread' into object-rest-syntax
2016-11-03 10:12:45 -07:00
Anders Hejlsberg
7cd39e3818
Parsing of mapped types
2016-11-03 06:09:44 -07:00
Nathan Shively-Sanders
334820c357
Remove spread types, leaving spread syntax/emit
...
Spreads are still typed, but cannot be created from a non-object type.
Tests still need to be updated.
2016-11-02 16:26:34 -07:00
Nathan Shively-Sanders
a7c18367ca
Parse, bind and check rest elements
2016-11-02 14:55:24 -07:00
Nathan Shively-Sanders
2ae6ecc1a5
Merge branch 'master' into object-spread
2016-11-02 10:57:20 -07:00
Anders Hejlsberg
6b28d21a82
Merge branch 'master' into keyoftypes
...
# Conflicts:
# src/compiler/diagnosticMessages.json
2016-10-31 16:04:40 -07:00
Andy Hanson
12f6dcefa1
Revert "Merge pull request #11354 from Microsoft/map4"
...
This reverts commit adfdae0dc47db5ad8248d26929a7b31cb895a539, reversing
changes made to aad663cebf6a89f7029af57d8cb6a0a011854978.
2016-10-27 15:50:21 -07:00
Nathan Shively-Sanders
58ffb4e668
Merge branch 'master' into object-spread
2016-10-27 15:29:21 -07:00
Andy Hanson
bcc0807198
Respond to PR comments
2016-10-27 13:14:56 -07:00
Anders Hejlsberg
e7cfbfe185
Support parametric property access expressions + some renaming
2016-10-26 13:39:12 -07:00
Andy Hanson
c958c47ef5
Merge branch 'master' into map4
2016-10-26 11:05:51 -07:00
Anders Hejlsberg
c21592ede1
Initial implementation of 'T[K]' property access types
2016-10-25 14:32:20 -07:00
Zhengbo Li
d0170d1ac8
Support dotted name in @typedef tag ( #11695 )
...
* Support dotted name in @typedef tag
* Use a new node flag to get rid of the extra logics
* replace jsdoc namespace node flag with optional property
* Fix linting error
2016-10-25 13:32:48 -07:00
Sheetal Nandi
f98369b711
Fix the AV resulting from presence of undefined in the jsDocPropertyTags
...
Fixes #11703
2016-10-24 18:10:05 -07:00
Nathan Shively-Sanders
32af04660f
Merge branch 'master' into object-spread
2016-10-24 15:46:09 -07:00
Anders Hejlsberg
ad88109420
Initial implementation of 'keyof T' type operator
2016-10-24 15:24:26 -07:00
Alexander Rusakov
7b684214fa
Fix #11545 ('export as namespace foo' occurs EOF without semicolon) ( #11797 )
2016-10-24 13:18:46 -07:00
Andy Hanson
a11838215c
Merge branch 'master' into map4
2016-10-19 13:16:55 -07:00
Nathan Shively-Sanders
f9fe01a6e3
Merge branch 'master' into object-spread
2016-10-19 09:03:51 -07:00
Andy Hanson
f11dbc1ad1
Respond to PR feedback
2016-10-19 06:26:50 -07:00