Partial Typescript code parsing support not mentioned
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 363
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 3
Description
I found this library to be AMAZING, because it can event parse code like
`var answer: number = 6 * 7;` and get typeAnnotation, not like esprima. I just wonder why this cool feature not mentioned in readme?
I know this parser not handle some cases like
``` typescript
class Abc {
number: string = 5;
}
```
but it still is very usefull If I want to convert ES5 code to Typescript/ES6
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the README and the parser examples described in the issue. Document that partial TypeScript syntax, including variable type annotations, can be parsed, and mention that class property annotations such as the shown example are not supported. Done means the README accurately explains this partial support and its limitations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100