Skip to content

TypeScript support #123

Description

@kmturley

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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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