Skip to content

Commit

Permalink
rename some vars
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed Sep 27, 2024
1 parent 52e0c2a commit f850791
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/decorators/signal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,24 +126,24 @@ describe('classy-solid', () => {
})

class Base {
#_colors = 3
#colors = 3

@signal get colors() {
return this.#_colors
return this.#colors
}
@signal set colors(v: number) {
this.#_colors = v
this.#colors = v
}
}

class Butterfly8 extends Base {
#_colors = 3
#colors = 3

@signal override get colors() {
return this.#_colors
return this.#colors
}
@signal override set colors(v: number) {
this.#_colors = v
this.#colors = v
}

getColors() {
Expand Down

0 comments on commit f850791

Please sign in to comment.