Skip to content

Commit de59342

Browse files
committed
fixup! build: update dependency @inquirer/type to v3
1 parent de7e941 commit de59342

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ng-dev/release/publish/test/common.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import {readFileSync, writeFileSync} from 'fs';
1010
import {join} from 'path';
1111
import semver from 'semver';
12-
import {CancelablePromise} from '@inquirer/type';
1312

1413
import {CommitFromGitLog, parseCommitFromGitLog} from '../../../commit-message/parse.js';
1514
import {GitClient} from '../../../utils/git/git-client.js';
@@ -276,7 +275,7 @@ describe('common release action logic', () => {
276275
let promptResolveFn: ((value: boolean) => void) | null = null;
277276
const promptPromise = new Promise<boolean>(
278277
(resolve) => (promptResolveFn = resolve),
279-
) as unknown as CancelablePromise<boolean>;
278+
) as unknown as Promise<boolean> & {cancel: () => void};
280279
promptConfirmSpy.and.returnValue(promptPromise);
281280

282281
const testFile = join(testTmpDir, 'some-file.txt');

0 commit comments

Comments
 (0)