Skip to content

Commit 3a8edf8

Browse files
committed
fix: add tsignore to make @cfworker/json-schema optional
1 parent 2d2c8ff commit 3a8edf8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/validation/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// The following @ts-ignore comment needs to be a doc comment or else it'll be stripped from the build output.
2+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
3+
/** @ts-ignore This is a peer dependency - if it is not installed, the Schema type will degrade to any */
14
import type { Schema } from '@cfworker/json-schema';
25

36
/**

0 commit comments

Comments
 (0)