From 8c30b87fdcd2e215f311eb4b258f6adf66b07203 Mon Sep 17 00:00:00 2001 From: beefchimi Date: Thu, 30 May 2024 14:16:40 -0400 Subject: [PATCH] :fire: [Types] Remove unused types --- src/types/general.ts | 13 ------------- src/types/index.ts | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) 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';