mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-29 20:43:09 +08:00
emptymodule
This commit is contained in:
@@ -5,7 +5,7 @@ export function log(...args: any[]) {
|
||||
}
|
||||
|
||||
const noop = () => {};
|
||||
export class EmptyModule {
|
||||
class EmptyModule {
|
||||
constructor() {
|
||||
return new Proxy(this, {
|
||||
get() {
|
||||
@@ -14,6 +14,7 @@ export class EmptyModule {
|
||||
});
|
||||
}
|
||||
}
|
||||
export const emptyModule = new EmptyModule();
|
||||
|
||||
const ping =
|
||||
Platform.OS === 'web'
|
||||
|
||||
Reference in New Issue
Block a user