Skip to content

Commit 34c8c86

Browse files
committed
refactor: removed any cast
TICKET: WP-5446
1 parent 24078a5 commit 34c8c86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/express/test/unit/clientRoutes/lightning/lightningSignerRoutes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
handleInitLightningWallet,
1414
handleUnlockLightningWallet,
1515
} from '../../../../src/lightning/lightningSignerRoutes';
16+
import { ExpressApiRouteRequest } from 'modules/express/src/typedRoutes/api';
1617

1718
describe('Lightning signer routes', () => {
1819
let bitgo: TestBitGoAPI;
@@ -175,7 +176,7 @@ describe('Lightning signer routes', () => {
175176
bitgo: bitgo,
176177
config: { lightningSignerFileSystemPath: 'lightningSignerFileSystemPath' },
177178
decoded: { coin: 'tlnbtc', id: 'fakeid', passphrase: apiData.unlockWalletRequestBody.passphrase },
178-
} as any;
179+
} as unknown as ExpressApiRouteRequest<'express.lightning.unlockWallet', 'post'>;
179180

180181
await handleUnlockLightningWallet(req);
181182

0 commit comments

Comments
 (0)