Skip to content

Commit

Permalink
ts: fix incorrect types
Browse files Browse the repository at this point in the history
  • Loading branch information
manuth committed Jun 29, 2022
1 parent e4529e6 commit 5d7a75e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export class CommentArray<TValue> extends Array<TValue> {
[key: symbol]: CommentToken
[key: symbol]: CommentToken[]
}

export type CommentJSONValue = number
Expand All @@ -17,7 +17,7 @@ export type CommentJSONValue = number

export interface CommentObject {
[key: string]: CommentJSONValue
[key: symbol]: CommentToken
[key: symbol]: CommentToken[]
}

export interface CommentToken {
Expand Down

0 comments on commit 5d7a75e

Please sign in to comment.