Comments (7)
This is intended, if you open up the file tsconfig.base.json in the master repo, you can see that the target is "es5". I don't know if you're using a git pull or trying to download from npm, but if you really want to use "es6", download the master repo, and change the target to es6 at the master repo. Or you could just download /src/core, and add the "target" and "lib" key value pairs to tsconfig.json.
from overnight.
Thanks! I've got it working without any issues just by switching my server target to es5 with the es2015 lib.
from overnight.
can you please explain that ? do i need to switch to es5 in order to use overnight ? node can understand higher syntax than that. what if a developer wants to avoid compiling to old version of the language.
from overnight.
I still get the error.
Does overnight support es6 ?
from overnight.
This is pretty disappointing since I was looking forward to using this package.
Surely everyone's using this within node, and every supported version of node supports es2015 (node 6 supports it too).
Any chance of some movement on this, I'd rather not just copy/paste this library into my project.
from overnight.
OvernightJS now supports es6. I closed this issue a while ago but after more requests to support es6 came in I made it to support es6.
from overnight.
Awesome, thanks
from overnight.
Related Issues (20)
- 404 status on every route
- Set prefix in all controllers HOT 4
- 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.