Skip to content

Latest commit

 

History

History
81 lines (59 loc) · 2.12 KB

README.md

File metadata and controls

81 lines (59 loc) · 2.12 KB

@artdeco/typescript

npm version

@artdeco/typescript is TypeScript bug.

yarn add @artdeco/typescript

Table Of Contents

API

The package is available by importing its default function:

import typescript from '@artdeco/typescript'

async typescript(
  config: !Config,
): string

TypeScript bug.

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

Copyright & License

GNU Affero General Public License v3.0

art-deco © Art Deco™ 2020