How to export deps in DENO?
I would like to know how I can export npm modules as express
For example, I have the following import, it works fine and the linter does not show any errors:
import express, { Request, Response } from 'npm:express';
however when taking it to my deps.ts I get the following error:
export express, { Request, Response } from 'npm:express';
Error:
';' expected.
try to separate it but it gives another error:
export express from 'npm:express'; export { Request, Response } from 'npm:express';
Error:
Unexpected keyword or identifier
Then try the following:
import express from 'npm:express'; export { Request, Response } from 'npm:express'; export { express };
but i get the following error:
Uncaught SyntaxError: The requested module 'npm:express' does not provide an export named 'Request' export { Request, Response } from 'npm:express';
and I don’t know how to solve it, I hope you can help me, I don’t want to use a default import in my app.ts file, I hope you can help me