Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TypeScript support #123

Open
Open
Assignees
@kmturley

Description

According to GitHut, TypeScript is now the #5th most popular language on github:
https://madnight.github.io/githut/#/pull_requests/2020/3

Can you either add types directly to the package or update documentation on how to do it manually?

npm install cli-table
npm install --save @types/cli-table

tsconfig.json

{
 "compilerOptions": {
 "esModuleInterop": true
 }
}

index.ts

import Table from 'cli-table';

You'll save every developer 10 minutes :)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /