Skip to content

Commit

Permalink
refactor(types)!: remove Or*
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Sep 30, 2022
1 parent f082c18 commit 3312dc0
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 60 deletions.
4 changes: 2 additions & 2 deletions __tests__/interfaces/vi-assertion-result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @module tests/interfaces/AssertionResult
*/

import type { OrNull } from '@flex-development/tutils'
import type { Nullable } from '@flex-development/tutils'

/**
* Test assertion summary object produced by the `vitest` [`JsonReporter`][1].
Expand All @@ -12,7 +12,7 @@ import type { OrNull } from '@flex-development/tutils'
*/
interface AssertionResult {
ancestorTitles: string[]
duration?: OrNull<number>
duration?: Nullable<number>
failureMessages: string[]
fullName: string
status: 'disabled' | 'failed' | 'passed' | 'pending' | 'skipped' | 'todo'
Expand Down
4 changes: 0 additions & 4 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ export type { default as ObjectPlain } from './object-plain'
export type { default as ObjectUnknown } from './object-unknown'
export type { default as OmitByType } from './omit-by-type'
export type { default as OneOrMany } from './one-or-many'
export type { default as OrNever } from './or-never'
export type { default as OrNull } from './or-null'
export type { default as OrPartial } from './or-partial'
export type { default as OrUndefined } from './or-undefined'
export type { default as Overwrite } from './overwrite'
export type { default as Path } from './path'
export type { default as PathN } from './path-n'
Expand Down
14 changes: 0 additions & 14 deletions src/types/or-never.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/types/or-null.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/types/or-partial.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/types/or-undefined.ts

This file was deleted.

0 comments on commit 3312dc0

Please sign in to comment.