elearning/Frontend-Learner/node_modules/@dxup/unimport/README.md

34 lines
876 B
Markdown
Raw Normal View History

2026-01-13 10:46:40 +07:00
# @dxup/unimport
[![version](https://img.shields.io/npm/v/@dxup/unimport?color=007EC7&label=npm)](https://www.npmjs.com/package/@dxup/unimport)
[![downloads](https://img.shields.io/npm/dm/@dxup/unimport?color=007EC7&label=downloads)](https://www.npmjs.com/package/@dxup/unimport)
[![license](https://img.shields.io/npm/l/@dxup/unimport?color=007EC7&label=license)](/LICENSE)
This is a TypeScript plugin that reduces user friction when using navigation features on auto imported variables generated by `unimport`. It aims to make the generated declaration files transparent to users.
## Features
- [x] Go to Definition
- [x] Go to References
- [x] Rename Symbol
## Installation
```bash
pnpm i -D @dxup/unimport
```
## Usage
Add the following to your `tsconfig.json`:
```json
{
"compilerOptions": {
"plugins": [
{ "name": "@dxup/unimport" }
]
}
}
```