Skip to content

Commit

Permalink
fix(queue): export promise callback types
Browse files Browse the repository at this point in the history
  • Loading branch information
snickbit committed Jul 17, 2023
1 parent e0457c8 commit 21d9bcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/queue/src/queue.promise.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {CatchCallback, FinallyCallback, ThenCallback} from './definitions'
import {Queue} from './queue'

type PromiseCallback<TValue, TResult> = (value: TValue) => (PromiseLike<TResult> | TResult)
type PromiseCallbackValue<TValue, TResult> = PromiseCallback<TValue, TResult> | null | undefined
export type PromiseCallback<TValue, TResult> = (value: TValue) => (PromiseLike<TResult> | TResult)
export type PromiseCallbackValue<TValue, TResult> = PromiseCallback<TValue, TResult> | null | undefined

/**
* @noInheritDoc
Expand Down

0 comments on commit 21d9bcf

Please sign in to comment.