Skip to content

Commit

Permalink
fix: type reference for the customhook argument
Browse files Browse the repository at this point in the history
  • Loading branch information
j-yw committed Oct 15, 2024
1 parent d6a3b7c commit 6d5c760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ast/src/clients/helper-funcs/query-funcs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ export function createQueryHelperCreator(
]);

const customHookArgumentsType = ast.tsTypeAnnotation(
//TODO: Improvements, Figure out how to write ast code to generate the function expression below instead of hard coding the strong.
ast.tsTypeReference(ast.identifier("abc"))
//TODO: Improvements, Figure out how to write ast code to generate the function expression below instead of hard coding the string.
ast.tsTypeReference(ast.identifier("() => ISigningClient | undefined"))
);
const arg = ast.identifier("getRpcInstance");

Expand Down

0 comments on commit 6d5c760

Please sign in to comment.