Skip to content

Commit

Permalink
chore: fix bun issue
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvanhulle committed Feb 18, 2024
1 parent b5f276f commit ed9a874
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/shared/utils/throttle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const throttle = <R, A extends any[]>(fn: (...args: A) => R, delay: numbe

timeout = setTimeout(() => {
wait = false
}, delay)
}, delay) as NodeJS.Timeout

return val
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ describe('<Mutation/>', async () => {
importPath: '@kubb/swagger-client/client',
},
parser: undefined,
query: {},
}

const plugin = { options } as Plugin<PluginOptions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ describe('<Query/>', async () => {
importPath: '@kubb/swagger-client/client',
},
parser: undefined,
query: {},
}

const plugin = { options } as Plugin<PluginOptions>
Expand Down

0 comments on commit ed9a874

Please sign in to comment.