UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

12 lines (11 loc) 458 B
'use strict'; // @ts-expect-error There's no types for this script. import validateWorkletsVersion from 'react-native-reanimated/scripts/validate-worklets-version'; import { jsVersion as reanimatedVersion } from "./jsVersion.js"; export function assertWorkletsVersion() { const result = validateWorkletsVersion(reanimatedVersion); if (!result.ok) { throw new Error(`[Reanimated] ${result.message}`); } } //# sourceMappingURL=workletsVersion.js.map