use erasableSyntaxOnly in tsconfig (#321)

This commit is contained in:
Mattia Manzati
2025-07-17 16:59:03 +02:00
committed by GitHub
parent 055c9d2324
commit 638427c773
43 changed files with 989 additions and 288 deletions
@@ -231,14 +231,18 @@ const makeFile = (() => {
class FileImpl implements FileSystem.File {
readonly [FileSystem.FileTypeId]: FileSystem.FileTypeId
readonly fd: FileSystem.File.Descriptor
private readonly append: boolean
private position: bigint = 0n
constructor(
readonly fd: FileSystem.File.Descriptor,
private readonly append: boolean
fd: FileSystem.File.Descriptor,
append: boolean
) {
this[FileSystem.FileTypeId] = FileSystem.FileTypeId
this.fd = fd
this.append = append
}
get stat() {