(query: NextParsedUrlQuery)
| 5 | const INTERNAL_QUERY_NAMES = [NEXT_RSC_UNION_QUERY] as const |
| 6 | |
| 7 | export function stripInternalQueries(query: NextParsedUrlQuery) { |
| 8 | for (const name of INTERNAL_QUERY_NAMES) { |
| 9 | delete query[name] |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | export function stripInternalSearchParams<T extends string | URL>(url: T): T { |
| 14 | const isStringUrl = typeof url === 'string' |
no outgoing calls
no test coverage detected
searching dependent graphs…