Comments (3)
Could you supply an example that reproduces your type error?
from moleculer-decorators.
use the configurarion provided for "tsconfig.json"
add options in tsconfig.json in project
from moleculer-decorators.
the error is in ternary as I said in the first message, you check "if" options exist, then in else (where "options" does not exists) you call "options.skipHandler"
This is the error. In "else" you could not use "options" because it does not exist
from moleculer-decorators.
Related Issues (19)
- tsc npm package HOT 2
- Please respect the semver versioning scheme HOT 1
- mixins are not applied properly HOT 4
- noted the issue still exists. Heres the test repo https://github.com/giang12/moldecormixinsbug HOT 1
- No actions HOT 1
- moleculer-db lifecycle functions are excluded HOT 1
- @Service() class-decorator implementation throws TypeError HOT 13
- moleculer-0.14 support? HOT 13
- Using moleculer-web as mixin creates type error HOT 1
- TypeError when using ServiceSchema and moleculer v0.14.7
- Typeorm - reflect-metadata HOT 13
- Error while run unit test with moleculer-cli generated project
- Typesupport for mixins HOT 1
- Services is called twice when started
- Typescript methods declaration HOT 1
- ActionOptions Typescript Typedef missing some options? HOT 1
- TypeError: Class extends value undefined is not a constructor or null
- Error testing use jest HOT 1
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 moleculer-decorators.