1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-07 15:45:14 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2024-10-19 09:19:40 +08:00
parent 60e446d2b3
commit a13d6aa21a
5 changed files with 16476 additions and 10543 deletions

View File

@@ -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) {