From 3e7b30d1d3735f3afc79dd80773504cb8e290945 Mon Sep 17 00:00:00 2001 From: Craig Harshbarger Date: Sat, 22 Jun 2024 12:04:54 -0500 Subject: [PATCH] Remove `as const` to fix build --- src/services/createRouterReject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/createRouterReject.ts b/src/services/createRouterReject.ts index 55115348..58d3fd6c 100644 --- a/src/services/createRouterReject.ts +++ b/src/services/createRouterReject.ts @@ -4,7 +4,7 @@ import { createResolvedRouteQuery } from '@/services/createResolvedRouteQuery' import { RegisteredRejectionType } from '@/types' import { ResolvedRoute } from '@/types/resolved' -export const builtInRejections = ['NotFound'] as const +export const builtInRejections: ['NotFound'] = ['NotFound'] export type BuiltInRejectionType = typeof builtInRejections[number] export type RouterRejectionType = BuiltInRejectionType | RegisteredRejectionType