Commit Graph

24 Commits

Author SHA1 Message Date
Peter Burns
34a70dfb0b Add async/await to ESTree's declarations.
Async/await has landed as stage 4 and the ESTree spec has been updated
accordingly: https://github.com/estree/estree/pull/131
2016-09-07 10:48:34 -07:00
Peter Burns
9a600cd07c Use features from typescript 2.0 in ESTree (#10305)
* Use features from typescript 2.0 in estree

Enables narrowing of types based on doing string literal comparisons with
the type field. This makes estree much more natural to use, with fewer casts
needed.

* Consistently use Array<T> over T[]

* Whitespace tweak
2016-08-03 00:24:55 +09:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Ingvar Stepanyan
b8b75340b7 Add reference to estree.d.ts as dependency 2015-07-30 23:53:32 -07:00
Ingvar Stepanyan
7bcd3629af Remove brand property as it's not used in other ESTree defs 2015-07-30 23:51:34 -07:00
Ingvar Stepanyan
f6aec8b1c5 Fix TemplateElement.value.value -> .value.raw
Issue: https://github.com/estree/estree/issues/97
2015-07-30 23:49:13 -07:00
Ingvar Stepanyan
7027088454 Add definitions for Facebook Flow AST extensions 2015-07-30 23:46:34 -07:00
Ingvar Stepanyan
5e11cf3c90 Update estree-tests.ts 2015-07-30 23:41:54 -07:00
Ingvar Stepanyan
cea9fd5218 Couple of fixes and deprecations in ESTree 2015-07-29 12:37:41 -07:00
Ingvar Stepanyan
987659bec6 Fix CallExpression.callee. 2015-04-08 14:17:02 +03:00
Ingvar Stepanyan
5fce6dfa44 Add ESTree AST and Acorn definitions.
Adds type defs for [ESTree AST specification](https://github.com/estree/estree)
and updates Esprima and Acorn definitions since they follow same spec.
2015-04-06 20:19:23 +03:00