We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a9602 commit 77857beCopy full SHA for 77857be
src/index.ts
@@ -16,7 +16,6 @@ function privateKeyPassed(options: ImageKitOptions) {
16
17
const promisify = function <T = void>(thisContext: ImageKit, fn: Function) {
18
return function (...args: any[]): Promise<T> | void {
19
- console.log('arg: ', args);
20
if (args.length === fn.length && typeof args[args.length - 1] !== "undefined") {
21
if (typeof args[args.length - 1] !== "function") {
22
throw new Error("Callback must be a function.");
0 commit comments