Skip to content

Commit

Permalink
fix return type of getActor
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Dec 19, 2024
1 parent c8e42f7 commit c512db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/property/get_actor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getCanisterActor } from '../get_canister_actor';
export async function getActor<T>(
parentDir: string,
agent?: Agent
): Promise<ActorSubclass<T>> {
): Promise<ActorSubclass<T> & { [key: string]: any }> {
const resolvedPathIndex = require.resolve(
`${parentDir}/dfx_generated/canister/index.js`
);
Expand Down

0 comments on commit c512db8

Please sign in to comment.