Debian Codegraph @

cli/tools-cli/MIGRATION.md

raw symbols SCIP
1 # Migration from `@withfig/autocomplete-tools@1` to `@withfig/autocomplete-tools@2`
2
3 In v2 we moved our types to a separate package called `@withfig/autocomplete-types`.
4 The transition is as simple as installing the new package and changing an entry in your `tsconfig.json`:
5 ```json
6 {
7 "compilerOptions": {
8 // you may get some typecheck errors if you are using some node packages like "fs"
9 // just include "node" in the below array. Same for "jest", "chai"...and so on
10 "types": ["@withfig/autocomplete-types"]
11 },
12 }
13 ```