https://github.com/octref/ts-config-plugin
POC TS Plugin for type checking / completing `module.exports`
https://github.com/octref/ts-config-plugin
Last synced: about 1 year ago
JSON representation
POC TS Plugin for type checking / completing `module.exports`
- Host: GitHub
- URL: https://github.com/octref/ts-config-plugin
- Owner: octref
- Created: 2019-01-09T09:47:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-11T19:56:20.000Z (over 7 years ago)
- Last Synced: 2025-03-18T10:21:32.447Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 7.07 MB
- Stars: 46
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TS Config Plugin
Just install the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=octref.vscode-ts-config-plugin).
Or, `yarn add ts-config-plugin` and put this in tsconfig:
```json
{
"compilerOptions": {
"plugins": [
{ "name": "ts-config-plugin" }
]
}
}
```
## Demo

## Supported Configs
- [x] webpack.config.js
- [ ] .eslintrc.js
- [ ] prettier.config.js / .prettierrc.js
## Notes
- The plugin only handles completion / diagnostics.
- This plugin is quite slow. I do hope it can be faster, but that needs more API from TypeScript.
- It's mainly for trying out TS Plugin, so I can use it for [Vetur](https://vuejs.github.io/vetur/) to build better typing experience for Vue 2 and the upcoming Vue 3.