Skip to content

🎥 Make videos programmatically with React

remove `any`'s

Jonny Burgerb24efcf3c036
diff --git a/packages/lottie/.eslintrc b/packages/lottie/.eslintrc
index e1a11da2b5..d4cc0fb226 100644
--- a/packages/lottie/.eslintrc
+++ b/packages/lottie/.eslintrc
@@ -1,6 +1,3 @@
{
- "extends": "@jonny",
- "rules": {
- "@typescript-eslint/no-explicit-any": "off"
- }
+ "extends": "@jonny"
}
diff --git a/packages/lottie/src/Lottie.tsx b/packages/lottie/src/Lottie.tsx
index 665b702ec3..34f3ac011b 100644
--- a/packages/lottie/src/Lottie.tsx
+++ b/packages/lottie/src/Lottie.tsx
@@ -9,7 +9,7 @@ interface LottieProps {
/**
* JSON object with the animation data.
* */
- animationData?: Record<any, any>;
+ animationData?: Record<string | number | symbol, unknown>;
/**
* CSS classes to apply on the container of the animation.
*/