Skip to content

Commit

Permalink
Make Fd an abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Apr 8, 2024
1 parent 04004aa commit 395bccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fd.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint @typescript-eslint/no-unused-vars:0 */
import * as wasi from "./wasi_defs.js";

export class Fd {
export abstract class Fd {
fd_advise(offset: bigint, len: bigint, advice: number): number {
return wasi.ERRNO_NOTSUP;
}
Expand Down

0 comments on commit 395bccf

Please sign in to comment.