Skip to content

Commit a08b998

Browse files
committed
fix: another File type incompatibility
1 parent 4d6d204 commit a08b998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workspaces/types/types/environment/environment.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import type {
1414
LookupOptions,
1515
} from './methods-options.js';
1616

17-
type BasicFile = { path: string; contents?: Buffer | null };
17+
type BasicFile = { path: string; contents: Buffer | null };
1818
type StreamFile = typeof import('mem-fs-editor') extends never ? BasicFile : import('mem-fs-editor').MemFsEditorFile;
1919

2020
export type EnvironmentConstructor<A extends InputOutputAdapter = InputOutputAdapter> = new (

0 commit comments

Comments
 (0)