Skip to content

Commit

Permalink
fix: circular dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
fupengl committed Oct 7, 2020
1 parent c0edb4b commit 26575fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/promise/padding.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { delay } from '.';
import delay from './delay';

/**
* 延迟promise返回结果
Expand Down
2 changes: 1 addition & 1 deletion src/promise/retry.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BaseRetryOpts } from './interfaces';
import { delay } from '.';
import delay from './delay';

export interface RetryOpts extends BaseRetryOpts {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/promise/until.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BaseRetryOpts } from './interfaces';
import { delay } from '.';
import delay from './delay';

/**
* promise resolve 没有值的情况重试,每次失败reject都会报错
Expand Down

0 comments on commit 26575fb

Please sign in to comment.