Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Breaking: Support TypeScript 2.3 (fixes #232) #233

Merged
merged 1 commit into from
Apr 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A parser that converts TypeScript into an [ESTree](https://github.com/estree/est

We will always endeavor to support the latest stable version of TypeScript.

The version of TypeScript currently supported by this parser is `~2.2.1`. This is reflected in the `devDependency` requirement within the package.json file, and it is what the tests will be run against. We have an open `peerDependency` requirement in order to allow for experimentation on newer/beta versions of TypeScript.
The version of TypeScript currently supported by this parser is `~2.3.2`. This is reflected in the `devDependency` requirement within the package.json file, and it is what the tests will be run against. We have an open `peerDependency` requirement in order to allow for experimentation on newer/beta versions of TypeScript.

If you use a non-supported version of TypeScript, the parser will log a warning to the console.

Expand Down
2 changes: 1 addition & 1 deletion lib/ast-converter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1947,7 +1947,7 @@ module.exports = function(ast, extra) {
type: "JSXOpeningElement",
selfClosing: false,
name: openingTagName,
attributes: node.attributes.map(convertChild)
attributes: node.attributes.properties.map(convertChild)
});

break;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"semver": "^4.1.1",
"shelljs": "^0.3.0",
"shelljs-nodecli": "^0.1.1",
"typescript": "~2.2.1"
"typescript": "~2.3.2"
},
"keywords": [
"ast",
Expand Down