Remix/Single Fetch/Include Typedef
Codemod verified
Official codemod published by a verified account. Learn more.
Remix-run/react
Remix / Single Fetch / Include Typedef
Adds the typings for Single Fetch to your tsconfig.json file.
Usage
You can use this codemod with the following command:
codemod remix/single-fetch/include-typedef --include="tsconfig.json"
Note that you must specify the --include
flag because codemod does not target
json
files by default.
Examples
{"include": [// ...+ "node_modules/@remix-run/react/future/single-fetch.d.ts"]}
Affected files
tsconfig.json
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community