From 5026543ec3ea0d6bb5f715b6fb40b40937baf9df Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 6 Jan 2025 10:11:29 +0000 Subject: [PATCH] chore: prettify --- packages/animated/src/AnimatedArray.ts | 2 +- packages/animated/src/AnimatedString.ts | 2 +- targets/native/src/AnimatedTransform.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/animated/src/AnimatedArray.ts b/packages/animated/src/AnimatedArray.ts index da86a70aee..ed8d6685c5 100644 --- a/packages/animated/src/AnimatedArray.ts +++ b/packages/animated/src/AnimatedArray.ts @@ -10,7 +10,7 @@ type Source = AnimatedValue[] export class AnimatedArray< T extends ReadonlyArray = Value[], > extends AnimatedObject { - protected declare source: Source + declare protected source: Source constructor(source: T) { super(source) } diff --git a/packages/animated/src/AnimatedString.ts b/packages/animated/src/AnimatedString.ts index b5f267ba7c..899ae9bb03 100644 --- a/packages/animated/src/AnimatedString.ts +++ b/packages/animated/src/AnimatedString.ts @@ -4,7 +4,7 @@ import { is, createInterpolator } from '@react-spring/shared' type Value = string | number export class AnimatedString extends AnimatedValue { - protected declare _value: number + declare protected _value: number protected _string: string | null = null protected _toString: (input: number) => string diff --git a/targets/native/src/AnimatedTransform.ts b/targets/native/src/AnimatedTransform.ts index fd5e6831da..340305b929 100644 --- a/targets/native/src/AnimatedTransform.ts +++ b/targets/native/src/AnimatedTransform.ts @@ -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) }