-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error TS2694: Namespace 'Deno' has no exported member 'ReadResult'. #529
Comments
@kt3k ? |
aa.. waiting this PR: #527 |
I have the same problem Server.ts import { Server } from "https://github.com/fen-land/deno-fen/raw/master//server.ts";
import { Router } from "https://github.com/fen-land/deno-fen/raw/master//tool/router.ts";
const s = new Server();
s.port = 1882;
s.logger.changeLevel("ALL");
let mergeRouter = new Router("merge");
mergeRouter
.get(
"/",
async context =>
(context.body = `${context.data.get("router").name} in ${
context.data.get("router").route
}`)
)
.post(
"/",
async context =>
(context.body = `POST ${context.data.get("router").name} in ${
context.data.get("router").route
}`)
)
.get(
"me",
async context =>
(context.body = `${context.data.get("router").name} in ${
context.data.get("router").route
}`)
);
let router = new Router();
router
.get("/:id", async context => {
context.body = `we have ${JSON.stringify(
context.data.get("router").params
)} in ${context.data.get("router").route}`;
})
.get("/:id/:name", async context => {
context.body = `we have ${JSON.stringify(
context.data.get("router").params
)} in ${context.data.get("router").route}`;
})
.get("/hello/:name", async context => {
context.body = `hello ${context.data.get("router").params.name} in ${
context.data.get("router").route
}`;
})
.use({
"/use": {
get: async context =>
(context.body = `use in ${context.data.get("router").route}`)
}
})
.merge("/merge", mergeRouter);
s.setController(router.controller);
s.start(); |
@rodrigooler |
@kt3k yes, I'm taking a look at ABC now. I realized about the downgrading and decided to look into the modules that are listed on the deno website. Thank you for the tips! |
inverted-capital
pushed a commit
to dreamcatcher-tech/napps
that referenced
this issue
Oct 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://deno.land/[email protected]
cc: deno/2591
denoland/deno#2591
The text was updated successfully, but these errors were encountered: