Skip to content

Commit 420a7fc

Browse files
committed
4.0.6 (chore): REAMD.md: about typescript
1 parent eb44eaa commit 420a7fc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ For JSON array with comments, `comment-json` extends the vanilla `Array` object
5353
$ npm i comment-json
5454
```
5555

56-
For TypeScript developers, [`@types/comment-json`](https://www.npmjs.com/package/@types/comment-json) could be used.
56+
~~For TypeScript developers, [`@types/comment-json`](https://www.npmjs.com/package/@types/comment-json) could be used~~
57+
58+
Since `2.4.1`, `comment-json` contains typescript declarations, so you might as well remove `@types/comment-json`.
5759

5860
## Usage
5961

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "comment-json",
3-
"version": "4.0.5",
3+
"version": "4.0.6",
44
"description": "Parse and stringify JSON with comments. It will retain comments even after saved!",
55
"main": "src/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)