Skip to content

Commit

Permalink
refactor(types): Replace MathAdd and MathSubstract utility types …
Browse files Browse the repository at this point in the history
…with `type-fest` new alternative ones

As more robust solution
  • Loading branch information
MorevM committed Mar 23, 2024
1 parent ba2cc9b commit 485c20f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
2 changes: 0 additions & 2 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ export * from './arrays/non-empty-array/non-empty-array';
export * from './arrays/tuple-of/tuple-of';
export * from './extensions/arrayable/arrayable';
export * from './extensions/nullable/nullable';
export * from './numbers/math-add/math-add';
export * from './numbers/math-subtract/math-subtract';
export * from './objects/cookie/cookie';
export * from './objects/object-entries/object-entries';
export * from './objects/object-from-entries/object-from-entries';
Expand Down
7 changes: 0 additions & 7 deletions src/types/numbers/math-add/math-add.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/types/numbers/math-subtract/math-subtract.ts

This file was deleted.

2 changes: 2 additions & 0 deletions src/types/type-fest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export type { SetReadonly as PartialReadonly } from 'type-fest';
export type { SetRequired as PartialRequired } from 'type-fest';
export type { SetReturnType as PartialReturnType } from 'type-fest';
export type { Simplify as Explicit } from 'type-fest';
export type { Subtract as MathSubtract } from 'type-fest';
export type { Sum as MathAdd } from 'type-fest';
export type { TsConfigJson as TsConfig } from 'type-fest';

export type {
Expand Down

0 comments on commit 485c20f

Please sign in to comment.