UNPKG

2.16 kBSource Map (JSON)View Raw
1{"version":3,"file":"globals.js","sourceRoot":"","sources":["../src/globals.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,uEAAuE;AACvE,yEAAyE;AACzE,uEAAuE;AACvE,wEAAwE;AACxE,0CAA0C;AAC1C,iFAAiF;AAIjF,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,EAAE;IACtC,KAAK,EAAE;QACL,UAAU,EAAE,IAAI;QAChB,GAAG;YACD,OAAO,OAAO,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC;QACrC,CAAC;KACF;IAED,SAAS,EAAE;QACT,UAAU,EAAE,IAAI;QAChB,GAAG;YACD,OAAO,OAAO,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC;QAC3C,CAAC;KACF;IAED,IAAI,EAAE;QACJ,UAAU,EAAE,IAAI;QAChB,GAAG;YACD,OAAO,OAAO,CAAC,WAAW,CAAC,CAAC;QAC9B,CAAC;KACF;IAED,IAAI,EAAE;QACJ,UAAU,EAAE,IAAI;QAChB,GAAG;YACD,OAAO,OAAO,CAAC,oBAAoB,CAAC,CAAC;QACvC,CAAC;KACF;IAED,cAAc,EAAE;QACd,UAAU,EAAE,IAAI;QAChB,GAAG;YACD,OAAO,OAAO,CAAC,sBAAsB,CAAC,CAAC,cAAc,CAAC;QACxD,CAAC;KACF;IAED,MAAM,EAAE;QACN,UAAU,EAAE,IAAI;QAChB,GAAG;YACD,OAAO,OAAO,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC;QACvC,CAAC;KACF;CACF,CAAC,CAAC","sourcesContent":["// We make some of the Expo SDK available on a global in order to make it\n// possible to augment their libraries with some Expo-specific behavior\n// when inside of an environment with the Expo SDK present, but otherwise\n// continue to work in any bare React Native app without requiring that\n// they install the 'expo' package. We can get rid of this entirely when\n// the following RFC has been implemented:\n// https://github.com/react-native-community/discussions-and-proposals/issues/120\n\ndeclare var module: any;\n\nObject.defineProperties(module.exports, {\n Asset: {\n enumerable: true,\n get() {\n return require('expo-asset').Asset;\n },\n },\n\n Constants: {\n enumerable: true,\n get() {\n return require('expo-constants').default;\n },\n },\n\n Font: {\n enumerable: true,\n get() {\n return require('expo-font');\n },\n },\n\n Icon: {\n enumerable: true,\n get() {\n return require('@expo/vector-icons');\n },\n },\n\n LinearGradient: {\n enumerable: true,\n get() {\n return require('expo-linear-gradient').LinearGradient;\n },\n },\n\n SQLite: {\n enumerable: true,\n get() {\n return require('expo-sqlite').SQLite;\n },\n },\n});\n"]}
\No newline at end of file