https://github.com/artdecocode/vscode-require-types
A bug report when types for packages with a hyphen are not loaded.
https://github.com/artdecocode/vscode-require-types
Last synced: 4 months ago
JSON representation
A bug report when types for packages with a hyphen are not loaded.
- Host: GitHub
- URL: https://github.com/artdecocode/vscode-require-types
- Owner: artdecocode
- License: mit
- Created: 2018-09-04T03:29:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-04T03:33:16.000Z (over 7 years ago)
- Last Synced: 2025-01-08T06:32:24.547Z (about 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# vscode-require-types
[](https://npmjs.org/package/vscode-require-types)
`vscode-require-types` is A bug report when types for packages with a hyphen are not loaded.
```sh
yarn add -E vscode-require-types
```
## Table Of Contents
- [Table Of Contents](#table-of-contents)
- [API](#api)
* [`vscodeRequireTypes(arg1: string, arg2?: boolean)`](#mynewpackagearg1-stringarg2-boolean-void)
- [TODO](#todo)
- [Copyright](#copyright)
## API
The package is available by importing its default function:
```js
import vscodeRequireTypes from 'vscode-require-types'
```
### `vscodeRequireTypes(`
`arg1: string,`
`arg2?: boolean,`
`): void`
Call this function to get the result you want.
```js
/* yarn example/ */
import vscodeRequireTypes from 'vscode-require-types'
(async () => {
await vscodeRequireTypes()
})()
```
## TODO
- [ ] Add a new item to the todo list.
## Copyright
(c) [Art Deco][1] 2018
[1]: https://artdeco.bz