Skip to content

art-deco/typescript

Repository files navigation

@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