@artdeco/typescript is TypeScript bug.
yarn add @artdeco/typescriptThe package is available by importing its default function:
import typescript from '@artdeco/typescript'TypeScript bug.
- config*
!Config: The config.
Config: Options for the program.
| Name | Type | Description | Default |
|---|---|---|---|
| shouldRun | boolean | A boolean option. | true |
| text | string | A text to return. | - |
import typescript from '@artdeco/typescript'
(async () => {
const res = await typescript({
text: 'example',
})
console.log(res)
})()@artdeco/typescript called with example
example
GNU Affero General Public License v3.0
| © Art Deco™ 2020 |