@rqt/test2
is A types bug in VS Code.
yarn add -E @rqt/test2
The package is available by importing its default function:
import test2 from '@rqt/test2'
Call this function to get the result you want.
Config
: Options for the program.
Name | Type | Description | Default |
---|---|---|---|
shouldRun | boolean | A boolean option. | true |
text* | string | A text to return. | - |
/* yarn example/ */
import test2 from '@rqt/test2'
(async () => {
const res = await test2({
text: 'example',
})
console.log(res)
})()
example
(c) Rqt 2018