Skip to content

Commit 877d093

Browse files
committed
fix: use unique value for not_found
1 parent 9639566 commit 877d093

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import type {
99
DevModeChecksExecutionInfo
1010
} from './types'
1111

12-
export const NOT_FOUND = 'NOT_FOUND'
12+
class NotFound {}
13+
14+
export const NOT_FOUND = new NotFound()
1315
export type NOT_FOUND_TYPE = typeof NOT_FOUND
1416

1517
/**

0 commit comments

Comments
 (0)