Expand description
The import declarations of a file, and how often the code refers to each imported name.
fallow fix removes a name from an export { ... } list. When that name
came from an import that nothing else in the file uses, the fix must also
remove the import. A kept import still counts as a consumer for the type
checker, but not for the analysis, so the next fix run would remove the
export that the import needs.
Structs§
- File
Import Bindings - The import declarations of a file and the references to their names.
- Import
Binding - One local binding of an import declaration.
- Import
Declaration Bindings - One top-level import declaration with at least one binding.
Enums§
- Import
Binding Kind - The form of one binding of an import declaration.
Functions§
- import_
bindings - The import bindings of the JavaScript or TypeScript file at
path.