UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

12 lines (11 loc) 423 B
'use strict'; // @ts-expect-error There's no types for this script. import validateWorkletsVersion from 'react-native-reanimated/scripts/validate-worklets-version'; import { ReanimatedError } from "../common/errors.js"; export function assertWorkletsVersion() { const result = validateWorkletsVersion(); if (!result.ok) { throw new ReanimatedError(result.message); } } //# sourceMappingURL=workletsVersion.js.map