chore: Remove the satisfies from the non released versions.

This commit is contained in:
BluJ
2023-05-12 14:50:28 -06:00
parent 5033df197c
commit 3df957898a
4 changed files with 34 additions and 30 deletions

View File

@@ -20,7 +20,10 @@ export function setupBackups<M extends SDKManifest>(
}
}
backups.push(Backups.volumes(...volumes))
return {
const answer: {
createBackup: ExpectedExports.createBackup
restoreBackup: ExpectedExports.restoreBackup
} = {
get createBackup() {
return (async (options) => {
for (const backup of backups) {
@@ -35,8 +38,6 @@ export function setupBackups<M extends SDKManifest>(
}
}) as ExpectedExports.restoreBackup
},
} satisfies {
createBackup: ExpectedExports.createBackup
restoreBackup: ExpectedExports.restoreBackup
}
return answer
}