Skip to content

Commit

Permalink
fix: compile response ts type
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaktoni committed Feb 2, 2023
1 parent 3359ca4 commit 4b71970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/calldata/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class CallData {
* @param data Object representing cairo method arguments or string array of compiled data
* @returns string[]
*/
static compile(data: object | string[]): string[] {
static compile(data: object | string[]): Calldata {
const createTree = (obj: object) => {
const getEntries = (o: object, prefix = ''): any => {
const oe = Array.isArray(o) ? [o.length.toString(), ...o] : o;
Expand Down

0 comments on commit 4b71970

Please sign in to comment.