mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 12:11:39 +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",
|
"react-native": "0.73",
|
||||||
"ts-jest": "^29.0.3",
|
"ts-jest": "^29.0.3",
|
||||||
"typescript": "^5.3.3"
|
"typescript": "^5.3.3"
|
||||||
}
|
},
|
||||||
|
"packageManager": "yarn@4.5.1"
|
||||||
}
|
}
|
||||||
|
@@ -53,14 +53,14 @@ export class Pushy {
|
|||||||
applyingUpdate = false;
|
applyingUpdate = false;
|
||||||
version = cInfo.pushy;
|
version = cInfo.pushy;
|
||||||
loggerPromise = (() => {
|
loggerPromise = (() => {
|
||||||
let resolve;
|
let resolve: (value?: unknown) => void = () => {};
|
||||||
const promise = new Promise((res) => {
|
const promise = new Promise(res => {
|
||||||
resolve = res;
|
resolve = res;
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
promise,
|
promise,
|
||||||
resolve
|
resolve,
|
||||||
}
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
constructor(options: PushyOptions) {
|
constructor(options: PushyOptions) {
|
||||||
|
Reference in New Issue
Block a user