Skip to content

IvanJosipovic/TSDParser

Repository files navigation

TSDParser

Nuget Nuget) codecov

What is this?

This project uses Node.JS and returns a C# representation of the TypeScript Abstract Syntax Tree

Requirements

Node.JS must be installed for this library to work.

How to use

var parsed = await TSDParser.ParseDefinition("""
/**
* interface comment
*/
export interface Test1 {
    /**
    * prop comment
    */
    prop: string;
    method(): void;
}
""");