[#293] Add documentation comments and tests for TS Definitions

Notable changes:
- Move index.d.ts from types/ to project root (needed for
  tsd-check module).
- Rename test.ts to index.test-d.ts and place it under root
  (needed for tsd-check module).
- Add tsd-check module to test Typescript Definitions.

Future Work:
The properties inverse, hidden, strikethrough and visible
of Chalk interface in index.d.ts needs to be documented.
This commit is contained in:
George Gkasdrogkas 2018-09-17 16:03:17 +03:00
parent 6a14c58e54
commit 8577e6dd58
No known key found for this signature in database
GPG key ID: 3FCA70FC54D4293F
6 changed files with 480 additions and 158 deletions

View file

@ -1,9 +0,0 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"noEmit": true,
"allowJs": true
}
}