Andy Hanson
4195eb3670
Parse export default async function as a declaration
2016-06-30 07:11:36 -07:00
Yui
db0d8e094b
Fix 8549: Using variable as Jsx tagname ( #9337 )
...
* Parse JSXElement's name as property access instead of just entity name. So when one accesses property of the class through this, checker will check correctly
* wip - just resolve to any type for now
* Resolve string type to anytype and look up property in intrinsicElementsType of Jsx
* Add tests and update baselines
* Remove unneccessary comment
* wip-address PR
* Address PR
* Add tets and update baselines
* Fix linting error
2016-06-24 14:15:44 -07:00
Andy Hanson
a011b4df12
Fix bug where exports. was prepended to namespace export accesses
2016-06-24 06:51:19 -07:00
Erik Edrosa
1a66f54e89
Add error message for rest parameter properties
2016-06-21 14:27:14 -04:00
Sheetal Nandi
5ea469a8a8
No Need to store dot token when parsing property access expression
2016-06-14 11:02:40 -07:00
Andy Hanson
75c1d77606
Merge branch 'master' into shorthand_ambient_module
2016-06-09 11:43:18 -07:00
zhengbli
e2a1a78dd3
reuse the fixupParentReferences function
2016-06-02 13:26:15 -07:00
Andy Hanson
7e9cb46a1a
Support shorthand ambient module declarations
2016-06-02 12:55:48 -07:00
zhengbli
d41ac8aa9a
Add null check and CR feedback
2016-06-02 11:12:38 -07:00
zhengbli
0e96c5eaf1
Run fixupParentReferences when parsing isolated jsDocComment
2016-06-01 22:57:25 -07:00
zhengbli
eb0f035c78
Remove unused parameter
2016-05-31 16:08:12 -07:00
zhengbli
59b188d4ca
Add navigationTo test for jsdoc typedef
2016-05-31 02:05:26 -07:00
zhengbli
18ee4b0a1e
cr feedback
2016-05-30 22:11:43 -07:00
zhengbli
81ce532cde
Change how typedef tag is parsed
2016-05-26 14:33:30 -07:00
zhengbli
5f9fa69587
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
...
# Conflicts:
# src/services/services.ts
# tests/cases/unittests/jsDocParsing.ts
2016-05-24 21:06:00 -07:00
Ryan Cavanaugh
41290db9c6
Tweak UMD semantics
2016-05-18 17:59:43 -07:00
Anders Hejlsberg
c11d691d6f
Introduce 'never' type
2016-05-17 06:15:57 -07:00
Yui
bbbb56b08c
Allow async as parameter in arrowfunction ( #8488 )
...
* Allow async as a parameter name in simple arrow function
* Add tests
2016-05-05 15:33:29 -07:00
Yui
990f1c7c37
Check that token is AsyncKeyword before calling lookAhead ( #8477 )
...
* Check that token is AsyncKeyword before calling lookAhead
* Fix linting errors
2016-05-05 14:18:12 -07:00
Yui
7521891760
Fix 8262: allow unparenthesized parameter in async arrow-function ( #8444 )
...
* Allow unparenthesize of parameter in async arrow-function
* Add tests and baselines
* Address PR
* Address PR: refactor to use "parseSimpleArrowFunctionExpression"
* Address PR: add comment
* Address PR
2016-05-04 17:00:28 -07:00
zhengbli
d568d79b49
resolve build error
2016-04-22 15:19:57 -07:00
zhengbli
870fd84233
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
2016-04-22 15:04:35 -07:00
Anders Hejlsberg
5ed6f30f1f
Merge pull request #8010 from Microsoft/controlFlowTypes
...
Control flow based type analysis
2016-04-22 14:18:56 -07:00
zhengbli
46f4bd4215
Allow keywords in jsdoc comments parsing
2016-04-21 14:16:21 -07:00
Zhengbo Li
350f62ff29
treat TS only keywords as identifiers in jsdoc comments
2016-04-20 19:49:48 -07:00
zhengbli
0dddcf4b84
code clean up
2016-04-14 16:51:22 -07:00
zhengbli
a3d74ad550
Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
...
# Conflicts:
# src/compiler/diagnosticMessages.json
# src/services/services.ts
2016-04-13 16:57:35 -07:00
zhengbli
2945f64e3b
Add tests for renaming and incremental parsing. Changed how the AST was hydrated
...
with jsdocComment nodes.
2016-04-13 16:45:06 -07:00
Anders Hejlsberg
b1e9f43d28
Merge branch 'master' into controlFlowTypes
...
Conflicts:
src/compiler/checker.ts
tests/baselines/reference/typeAssertions.errors.txt
2016-04-10 09:30:30 -07:00
Vladimir Matveev
e5e7d47782
merge with origin/master
2016-04-08 14:38:47 -07:00
Zhengbo Li
9a8f6395e4
Support the case with variable name as @typedef type name
2016-04-06 20:22:23 -07:00
Zhengbo Li
23bca4eda6
Support the case with @property and @type
2016-04-05 16:34:48 -07:00
zhengbli
df91ef0b38
Simple case and scoping
2016-04-03 11:52:04 -07:00
Vladimir Matveev
aaaa9c0895
expose type reference resolution for external consumption
2016-04-01 12:41:01 -07:00
Ryan Cavanaugh
05444eaabb
Support reference library directives
2016-04-01 12:19:16 -07:00
Nathan Shively-Sanders
9e5f26048b
Merge branch 'master' into this-function-types
2016-03-28 10:12:25 -07:00
Anders Hejlsberg
afa1714c03
Add type annotations to suppress circularity errors
2016-03-22 10:22:08 -07:00
Anders Hejlsberg
b497243f90
Merge branch 'master' into strictNullChecks
2016-03-14 16:31:29 -07:00
Anders Hejlsberg
b1bef15a1e
Removing 'T?' type notation (use 'T | null | undefined' instead)
2016-03-14 15:11:27 -07: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
Ryan Cavanaugh
e9f4bef3ac
Address CR feedback
2016-03-09 10:08:24 -08:00
Ryan Cavanaugh
44aa7388ea
UMD support
2016-03-09 10:08:24 -08:00
Daniel Rosenwasser
01c329c05e
Merge pull request #7396 from mattmccutchen/issue7359
...
Expose ts.isExternalModule as public API.
2016-03-07 10:15:06 -08:00
Matt McCutchen
49172207bf
Expose ts.isExternalModule as public API.
...
Fixes #7359
2016-03-04 18:45:42 -05:00
Ryan Cavanaugh
311f8dd7d3
Merge pull request #7309 from RyanCavanaugh/fix6878
...
Support JSDoc on class / obj. literal getters
2016-03-03 15:50:15 -08:00
Anders Hejlsberg
ea4b13bdf9
Allow 'null' and 'undefined' as type names
2016-03-03 11:18:12 -08:00
Ryan Cavanaugh
50eca44e46
Support JSDoc on class / obj. literal getters
...
Fixes #6878
2016-02-29 18:55:32 -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
Anders Hejlsberg
74d8c40007
Merge branch 'master' into strictNullChecks
2016-02-19 19:38:00 -08:00