Skip to content

Commit

Permalink
Removed unaliased backend exports
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 10, 2024
1 parent 0a6cc91 commit d6e9fff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/backends/memory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class InMemoryStore extends Map<Ino, Uint8Array> implements SimpleSyncSto
* A simple in-memory file system backed by an InMemoryStore.
* Files are not persisted across page loads.
*/
export const _InMemory = {
const _InMemory = {
name: 'InMemory',
isAvailable(): boolean {
return true;
Expand Down
4 changes: 2 additions & 2 deletions src/backends/port/fs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export function detachFS(port: RPC.Port, fs: FileSystem): void {
RPC.detach<FileOrFSRequest>(port, request => handleRequest(port, fs, request));
}

export const _Port = {
const _Port = {
name: 'Port',

options: {
Expand All @@ -315,7 +315,7 @@ export const _Port = {
},
},

async isAvailable(): Promise<boolean> {
isAvailable(): boolean {
return true;
},

Expand Down

0 comments on commit d6e9fff

Please sign in to comment.