Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Fixed backend
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Apr 18, 2024
1 parent c7d94d4 commit 7c9d25f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/IsoFS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export class IsoFS extends Readonly(Sync(FileSystem)) {
}
}

export const Iso: Backend = {
export const Iso = {
name: 'Iso',

isAvailable(): boolean {
Expand All @@ -210,6 +210,7 @@ export const Iso: Backend = {
options: {
data: {
type: 'object',
required: true,
description: 'The ISO file in a buffer',
validator(arg: unknown) {
if (!(arg instanceof ArrayBuffer)) {
Expand All @@ -222,4 +223,4 @@ export const Iso: Backend = {
create(options: IsoOptions) {
return new IsoFS(options);
},
};
} satisfies Backend<IsoFS, IsoOptions>;

0 comments on commit 7c9d25f

Please sign in to comment.