You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.4 KiB

{"ast":null,"code":"import _createClass from \"@babel/runtime/helpers/createClass\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _wrapNativeSuper from \"@babel/runtime/helpers/wrapNativeSuper\";\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nexport var GesturePropError = function (_Error) {\n _inherits(GesturePropError, _Error);\n var _super = _createSuper(GesturePropError);\n function GesturePropError(name, value, expectedType) {\n _classCallCheck(this, GesturePropError);\n return _super.call(this, \"Invalid property `\" + name + \": \" + value + \"` expected `\" + expectedType + \"`\");\n }\n return _createClass(GesturePropError);\n}(_wrapNativeSuper(Error));","map":{"version":3,"mappings":";;;;;;;;AAAA,WAAaA,gBAAN;EAAA;EAAA;EACLC,0BAAYC,IAAD,EAAeC,KAAf,EAA+BC,YAA/B,EAAqD;IAAA;IAAA,gDAEtCF,IAAK,UAAIC,KAAM,oBAAgBC,YAAa;EAErE;EAAA;AAAA,mBALmCC,KAA/B","names":["GesturePropError","constructor","name","value","expectedType","Error"],"sources":["/Users/mathildejean/Documents/BUT/LaSuperMeteo/LaSuperMeteo/iut-expo-starter/node_modules/react-native-gesture-handler/lib/module/web_hammer/Errors.ts"],"sourcesContent":["export class GesturePropError extends Error {\n constructor(name: string, value: unknown, expectedType: string) {\n super(\n `Invalid property \\`${name}: ${value}\\` expected \\`${expectedType}\\``\n );\n }\n}\n"]},"metadata":{},"sourceType":"module","externalDependencies":[]}