Problem with importing
Closed this issue · 0 comments
arminhupka commented
I'm trying import upload
and preUploadValidate
but there's some errors during importing
error: TS2305 [ERROR]: Module '"deno:///none.d.ts"' has no exported member 'upload'.
import { upload, preUploadValidate} from "https://deno.land/x/upload_middleware_for_oak_framework/mod.ts";
~~~~~~
at file:///Users/xyz/Desktop/demo/controllers/addBeat.ts:1:10
TS2305 [ERROR]: Module '"deno:///none.d.ts"' has no exported member 'preUploadValidate'.
import { upload, preUploadValidate} from "https://deno.land/x/upload_middleware_for_oak_framework/mod.ts";
~~~~~~~~~~~~~~~~~
at file:///Users/xyz/Desktop/demo/controllers/addBeat.ts:1:18