Get a string representation of a TypeScript type.
BSD-3-CLAUSE License
Get a string representation of a TypeScript type.
This project is really just me playing with different ways to get string representions of TypeScript types.
For most users, you can probably just use TypeScript built in functions:
checker.typeToString(type);
typeNode.getText();
Any donations would be much appreciated. 😄
# Install with npm
npm install type-to-string
# Install with pnpm
pnpm add type-to-string
# Install with yarn
yarn add type-to-string