Mitchell McMillan

Results 2 comments of Mitchell McMillan

There may be a namespacing or typing issue with `Animated.Extrapolate`. Typescript thinks it's an enum but it's actually defined as an object. Meanwhile, `Extrapolation` from the `interpolation` module is an...

I'm not sure either, but enums are [more complicated](https://www.typescriptlang.org/docs/handbook/enums.html#enums-at-compile-time) than just being compiled to JS objects. `interpolation.ts` [exports](https://github.com/software-mansion/react-native-reanimated/blob/b4ee4ea9a1f246c461dd1819c6f3d48440a25756/src/reanimated2/interpolation.ts#L1) an **enum** called `Extrapolation`, which is rarely if ever used by libraries...