Skip to content

Commit

Permalink
chore: prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed Jan 6, 2025
1 parent 8c27ce7 commit 5026543
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/animated/src/AnimatedArray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type Source = AnimatedValue<Value>[]
export class AnimatedArray<
T extends ReadonlyArray<Value> = Value[],
> extends AnimatedObject {
protected declare source: Source
declare protected source: Source
constructor(source: T) {
super(source)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/animated/src/AnimatedString.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { is, createInterpolator } from '@react-spring/shared'
type Value = string | number

export class AnimatedString extends AnimatedValue<Value> {
protected declare _value: number
declare protected _value: number
protected _string: string | null = null
protected _toString: (input: number) => string

Expand Down
2 changes: 1 addition & 1 deletion targets/native/src/AnimatedTransform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Transform = { [key: string]: string | number | Animated }
type Source = Transform[]

export class AnimatedTransform extends AnimatedObject {
protected declare source: Source
declare protected source: Source
constructor(source: Source) {
super(source)
}
Expand Down

0 comments on commit 5026543

Please sign in to comment.