Skip to content

Commit a84f9c8

Browse files
committed
fix: define getSdk options type
1 parent fad6c64 commit a84f9c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/lib/utils.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ export function getDefaultAccounts(): MemoryAccount[] {
3131
);
3232
}
3333

34-
export function getSdk(options: {}): AeSdk {
34+
export function getSdk(
35+
options: ConstructorParameters<typeof Node>[1] &
36+
ConstructorParameters<typeof CompilerHttp>[1],
37+
): AeSdk {
3538
const instance = new Node(networks.devmode.nodeUrl, options);
3639

3740
return new AeSdk({

0 commit comments

Comments
 (0)