Skip to content

Commit

Permalink
fix(types): fix AnyEnum key type
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed May 21, 2024
1 parent 8f97a55 commit de3f0cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
import type { SVGProps } from 'react'
import type { ItemDataType } from 'rsuite/esm/@types/common'

/** Any object with string keys and string values. */
/** Any enum with string values. */
export type AnyEnum = {
[k: string]: string
[k: number]: string
}

/** Any object with string keys. */
Expand Down

0 comments on commit de3f0cc

Please sign in to comment.