JamesHenry / typescript-estree

:sparkles: A parser that converts TypeScript source code into an ESTree-compatible form
https://jameshenry.blog
Other
84 stars 13 forks source link

refactor: migrate nodeTypes to enum and correct ESTreeComment interface #86

Closed armano2 closed 5 years ago

armano2 commented 5 years ago

This PR changes AST_NODE_TYPES to string enum from const object and improves comment node definition.

by making changing AST_NODE_TYPES we can use it in both type and script scope.

JamesHenry commented 5 years ago

Thanks!

JamesHenry commented 5 years ago

:tada: This PR is included in version 12.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: