Comments (8)
Try the latest version and see if that fixes the issue.
from overnight.
Update your typescript to the lastest version : npm install -g typescript
from overnight.
I think this might be a TypeScript version issue. here. Try upgrading your version of TypeScript.
from overnight.
Thanks for the answer.
My typescript is version ~3.5.3. Is this a problem?
from overnight.
Please let me know if that works @tomasguerreiro so I can close this.
from overnight.
First of all I would like to point out that even with the errors mentioned the JS code works.
In a separate project also works perfectly
unfortunately I can't update my project typescript with the error because it is integrated in an angular project.
from overnight.
Anyway your project is being very useful for me. If a solution to this angular problem is not possible, no problem. Thank you so much for your work.
from overnight.
I used the an older version of typescript in version 1.6.9. I used TypeScript 3.7 to transpile 1.6.11 You can try @overnightjs 1.6.9 which uses '@children' instead of '@ChildControllers' as the only difference beside from the TypeScript version. I'm going to close this issue since you got it working a stand alone project with a newer typescript version.
from overnight.
Related Issues (20)
- 404 status on every route
- Overnightjs not generating sourcemap at all
- How to use JwtManager.middleware? HOT 3
- Question: TypeScript Configuration / getOwnMetadata() returns undefined HOT 7
- AddControllers not working HOT 9
- Unable to access "this" inside controllers HOT 5
- 'Server' no longer exported HOT 2
- Why not async-wrap everything by default? HOT 2
- IRouter error when build HOT 1
- JWT Middleware HOT 1
- 404 on all routes when using express-promise-router HOT 4
- Non-blocking file logging HOT 1
- Problem with @ClassErrorMiddleware HOT 2
- Help wanted: Setting up controllers: {ControllerName} HOT 3
- How to get type safe on req.params HOT 1
- overnight breaks when controllers and server are in separate projects.
- Not an issue: Thank you for this project HOT 1
- OvernightJS controllers cannot be extended
- Controller with multiple enpoint
- Is this repository deprecated? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overnight.