Skip to content

Commit

Permalink
fix: Correct Type output
Browse files Browse the repository at this point in the history
  • Loading branch information
ReiiYuki committed Mar 30, 2023
1 parent ea3b112 commit fe05308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MS_IN_SEC } from "variables"
import { MS_IN_SEC } from "../../variables"

class TiredFromWaitingPromiseResolveTooLongError extends Error {
constructor(timeout: number) {
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import TimeoutError from "errors/TiredFromWaitingPromiseResolveTooLongError"
import { PromiseExecutor } from "types"
import TimeoutError from "./errors/TiredFromWaitingPromiseResolveTooLongError"
import { PromiseExecutor } from "./types"

function newPromiseUntilTired<T>(executor: PromiseExecutor<T>, timeout: number) {
let isResolved = false
Expand Down

0 comments on commit fe05308

Please sign in to comment.