@openrewrite/types
v0.0.20
Published
Various Typescript types to aid in OpenRewrite recipe development
Downloads
2
Keywords
Readme
Greetings!
The OpenRewrite project is a mass refactoring ecosystem designed to eliminate technical debt across an engineering organization. Full documentation and information is available at OpenRewrite.
This project contains Typescript typings to aid in the development of OpenRewrite recipes.
How to install
npm i -D @openrewrite/types
How to use
Add node_modules/@openrewrite/types/**/*.ts
to the "include"
section of your tsconfig.json
.
This will get you the base type definition file that covers nashorn and java bindings.
Additionally you can import types and classes specific to OpenRewrite Recipes:
import { OpenRewrite } from '@openrewrite/types';