Commit graph

5 commits

Author SHA1 Message Date
Sindre Sorhus
39b40ba4f4
Update index.d.ts 2018-12-26 01:57:05 +01:00
George Gkasdrogkas
8f91dc42b0
Document strikethrough in TS definition file 2018-12-02 12:18:47 +02:00
George Gkasdrogkas
2f54ab25d4
Update TS definitions for strikethrough, hidden, visible modifiers 2018-10-28 10:34:17 +02:00
George Gkasdrogkas
840483a750
Update TS types in definition file
Use the full words for parameters in color methods, not just
`r` and `g`. This make our definitions more self-documented and
allow us to remove @param from comments. This commit also fix
other minor issues.
2018-09-18 14:57:39 +03:00
George Gkasdrogkas
8577e6dd58
[#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.
2018-09-18 14:35:30 +03:00