Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting the TypeScript ES Target version #82

Open
brentlintner opened this issue Jun 7, 2017 · 0 comments
Open

Allow setting the TypeScript ES Target version #82

brentlintner opened this issue Jun 7, 2017 · 0 comments

Comments

@brentlintner
Copy link
Owner

It may not be as big of an issue than with the JavaScript parser module, but it still should be settable.

Currently we are using the ESNext target.

ts.createSourceFile reference:

https://github.com/Microsoft/TypeScript/blob/master/src/compiler/parser.ts#L457

Types:

{
  ES3: 0,
  ES5: 1,
  ES2015: 2,
  ES2016: 3,
  ES2017: 4,
  ESNext: 5,
  Latest: 5
}
@brentlintner brentlintner changed the title It may be ideal to allow a user to set the TypeScript ES Target version Allow setting the TypeScript ES Target version Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant