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

Commit

Permalink
Alias backend to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 10, 2024
1 parent 25f8e93 commit 9d534e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/IsoFS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export class IsoFS extends Readonly(Sync(FileSystem)) {
}
}

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

isAvailable(): boolean {
Expand All @@ -234,3 +234,7 @@ export const Iso = {
return new IsoFS(options);
},
} as const satisfies Backend<IsoFS, IsoOptions>;
type _Iso = typeof _Iso;
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface Iso extends _Iso {}
export const Iso: Iso = _Iso;

0 comments on commit 9d534e1

Please sign in to comment.