UNPKG

react-native-gesture-handler

Version:

Experimental implementation of a new declarative API for gesture handling in react-native

8 lines (7 loc) 214 B
export class GesturePropError extends Error { constructor(name: string, value: unknown, expectedType: string) { super( `Invalid property \`${name}: ${value}\` expected \`${expectedType}\`` ); } }