Skip to content

Commit

Permalink
fix(types): add symbol to IndexSignature union
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed May 24, 2021
1 parent 56a80b6 commit 8b690b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export type EmptyPrimitive = '' | null | undefined
/**
* Valid index signature types.
*/
export type IndexSignature = number | string
export type IndexSignature = number | symbol | string

/**
* Type representing any [JSON][1] object.
Expand Down

0 comments on commit 8b690b0

Please sign in to comment.