Skip to content

rqt/test2

Repository files navigation

@rqt/test2

npm version

@rqt/test2 is A types bug in VS Code.

yarn add -E @rqt/test2

Table Of Contents

API

The package is available by importing its default function:

import test2 from '@rqt/test2'

test2(
  arg1: string,
  arg2?: boolean,
): void

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

Copyright

(c) Rqt 2018

About

A types bug in VS Code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published