We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b887174 commit a3dbce9Copy full SHA for a3dbce9
1 file changed
test/util.ts
@@ -1,4 +1,4 @@
1
-import { RequestError, Transloadit } from '../src/Transloadit'
+import { RequestError, Transloadit } from '../src/Transloadit.js'
2
3
// eslint-disable-next-line import/prefer-default-export
4
export const createProxy = (transloaditInstance: Transloadit) => {
@@ -7,6 +7,7 @@ export const createProxy = (transloaditInstance: Transloadit) => {
7
// @ts-expect-error I dunno how to type
8
const origMethod = target[propKey]
9
if (typeof origMethod === 'function') {
10
+ // eslint-disable-next-line func-names
11
return function (...args: any) {
12
const result = origMethod.apply(target, args)
13
0 commit comments