mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 08:41:37 +08:00
yarn v4
This commit is contained in:
BIN
.yarn/install-state.gz
Normal file
BIN
.yarn/install-state.gz
Normal file
Binary file not shown.
1
.yarnrc.yml
Normal file
1
.yarnrc.yml
Normal file
@@ -0,0 +1 @@
|
||||
nodeLinker: node-modules
|
@@ -74,5 +74,6 @@
|
||||
"react-native": "0.73",
|
||||
"ts-jest": "^29.0.3",
|
||||
"typescript": "^5.3.3"
|
||||
}
|
||||
},
|
||||
"packageManager": "yarn@4.5.1"
|
||||
}
|
||||
|
@@ -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