node-typescript-parser
node-typescript-parser copied to clipboard
Parser for typescript (and javascript) files, that compiles those files and generates a human understandable AST.
[](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....
Hey there! Given the following input code: ```typescript export const add = async ( data: {num1: number, num2: number} ) => { console.log(`Adding ${num1} + ${num2}`) return data.num1 + data.num2...
hello, I love your parser! can you add the possibility to manage the annotation in typescript to your project?
I am able to parse the typescript source into AST. And I am able to modify the AST. But I am not sure how to print back the AST as...
https://github.com/streaka/typescript-parser-deluxe/commits/develop Can you take a look at this, maybe run it against your test suite? See if it works for you
Method parameters (ParameterDeclaration) are missing a property declaring if they are optional or not. Can this be added?
Hello, thanks for this project 👍 One thing I would like to have is the JsDoc comments associated with a declaration: ```js /** * A meaningless declaration. */ const hello...
Given the file: ```typescript export default class MyClass { // MyClass implementation } ``` The parsed File object has following declarations: ``` [ DefaultDeclaration: { isExported: true, exportedDeclaration: self },...
``` FunctionDeclaration { name: 'getNotificationSettingsForUser', isExported: false, type: 'Promise', start: 5886, end: 6006, parameters: [ ParameterDeclaration { name: 'this', type: 'ApiHandler', start: 5934, end: 5950 }, ParameterDeclaration { name: 'userID',...
## The devDependency [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `10.10.1` to `10.10.2`. 🚨 [View failing branch](https://github.com/buehler/node-typescript-parser/compare/master...buehler:greenkeeper%2F%40types%2Fnode-10.10.2). This version is **covered** by your **current version range** and after updating it in your project...