Remix/Single Fetch/Include Typedef
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community.
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