Skip to content

Commit

Permalink
Merge pull request #45 from karlhorky/patch-1
Browse files Browse the repository at this point in the history
Fix type for `parse()`
  • Loading branch information
kaelzhang authored Jul 4, 2024
2 parents 4416b4d + 2175d24 commit 02de76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export type Reviver = (k: number | string, v: unknown) => unknown
*/
export function parse(
json: string,
reviver?: Reviver,
reviver?: Reviver | null,
removesComments?: boolean
): CommentJSONValue

Expand Down

0 comments on commit 02de76e

Please sign in to comment.