Skip to content

Commit

Permalink
fix: use unique value for not_found
Browse files Browse the repository at this point in the history
  • Loading branch information
romgrk committed Mar 15, 2024
1 parent 9639566 commit 877d093
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import type {
DevModeChecksExecutionInfo
} from './types'

export const NOT_FOUND = 'NOT_FOUND'
class NotFound {}

export const NOT_FOUND = new NotFound()
export type NOT_FOUND_TYPE = typeof NOT_FOUND

/**
Expand Down

0 comments on commit 877d093

Please sign in to comment.