Skip to content

Commit 70d6331

Browse files
committed
@ts-expect-error instead of any
1 parent a2030a0 commit 70d6331

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/tools/src/snap-test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,10 @@ async function runTestCase(name: string, tempTmpDir: string, casesDir: string) {
164164
cwd,
165165
stdin: null,
166166
// Declared to be `Writable` but `FileHandle` works too.
167-
stderr: outputStream as any,
168-
stdout: outputStream as any,
167+
// @ts-expect-error
168+
stderr: outputStream,
169+
// @ts-expect-error
170+
stdout: outputStream,
169171
glob: {
170172
// Disable glob expansion. Pass args like '--filter=*' as-is.
171173
isGlobPattern: () => false,

0 commit comments

Comments
 (0)