Automattic / Automattic/cli-table

TypeScript support

Open
#123 8 comments 0 reactions 1 assignee Claimed by @chrean View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
141
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.