Skip to content

Commit ee0a77e

Browse files
karlhorkyfasttime
andauthored
docs: change link from @types/eslint to lib/types (#19049)
* Change link from @types/eslint to lib/types * Update docs/src/use/configure/migration-guide.md Co-authored-by: Francesco Trotta <[email protected]> --------- Co-authored-by: Francesco Trotta <[email protected]>
1 parent d474443 commit ee0a77e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/use/configure/migration-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,9 +687,9 @@ The following changes have been made from the eslintrc to the flat config file f
687687
688688
## TypeScript Types for Flat Config Files
689689
690-
You can see the TypeScript types for the flat config file format in the DefinitelyTyped project. The interface for the objects in the config’s array is called the `FlatConfig`.
690+
You can see the TypeScript types for the flat config file format in the [`lib/types` source folder on GitHub](https://github.com/eslint/eslint/tree/main/lib/types). The interface for the objects in the config’s array is called `Linter.Config`.
691691
692-
You can view the type definitions in the [DefinitelyTyped repository on GitHub](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/eslint/index.d.ts).
692+
You can view the type definitions in [`lib/types/index.d.ts`](https://github.com/eslint/eslint/blob/main/lib/types/index.d.ts).
693693
694694
## Visual Studio Code Support
695695

0 commit comments

Comments
 (0)