Skip to content

Commit

Permalink
chore: use readonly declare getter property of class
Browse files Browse the repository at this point in the history
  • Loading branch information
wenqing committed Aug 17, 2023
1 parent ba92a70 commit 46f2966
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/interfaces/core.ts
Expand Up @@ -44,9 +44,9 @@ export interface StarscoreInstance {

hoverValue: number | null

get renderValue(): number
readonly renderValue: number

get scoreItems(): ScoreItemsRecord[]
readonly scoreItems: ScoreItemsRecord[]

setOptions(opts: StarscoreOptions, reRender?: boolean): StarscoreInstance

Expand Down

0 comments on commit 46f2966

Please sign in to comment.