diff --git a/src/types/general.ts b/src/types/general.ts index b813ef8..02d78bf 100644 --- a/src/types/general.ts +++ b/src/types/general.ts @@ -1,16 +1,3 @@ -export interface BasicObject { - [key: string]: unknown; -} - -export type Primitive = - | string - | number - | bigint - | boolean - | symbol - | undefined - | null; - export interface MergedRegExp { source: RegExp['source']; flags: RegExp['flags']; diff --git a/src/types/index.ts b/src/types/index.ts index 6b41d06..2fa32f4 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -1,4 +1,4 @@ -export type {BasicObject, Primitive, MergedRegExp, UrlAnatomy} from './general'; +export type {MergedRegExp, UrlAnatomy} from './general'; export {UrlCaptureId} from './capture'; export type {ParsedUrlGroups, UrlGroupSubset} from './capture';