Skip to content

Commit

Permalink
🔥 [Types] Remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi committed May 30, 2024
1 parent 87d8d68 commit 8c30b87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions src/types/general.ts
Original file line number Diff line number Diff line change
@@ -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'];
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 8c30b87

Please sign in to comment.