mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-07 15:45:14 +08:00
yarn v4
This commit is contained in:
@@ -53,14 +53,14 @@ export class Pushy {
|
||||
applyingUpdate = false;
|
||||
version = cInfo.pushy;
|
||||
loggerPromise = (() => {
|
||||
let resolve;
|
||||
const promise = new Promise((res) => {
|
||||
let resolve: (value?: unknown) => void = () => {};
|
||||
const promise = new Promise(res => {
|
||||
resolve = res;
|
||||
});
|
||||
return {
|
||||
promise,
|
||||
resolve
|
||||
}
|
||||
resolve,
|
||||
};
|
||||
})();
|
||||
|
||||
constructor(options: PushyOptions) {
|
||||
|
Reference in New Issue
Block a user