src/server/core/mockDevice.ts:1428:20 - error TS2349: This expression is not callable.
Type 'typeof import("D:/Digital_Twin_WSP/mock-devices-master/node_modules/random-words/index")' has no call signatures.
1428 return rw();
~~
src/server/core/utils.ts:65:39 - error TS2349: This expression is not callable.
Type 'typeof import("D:/Digital_Twin_WSP/mock-devices-master/node_modules/random-words/index")' has no call signatures.
65 if (schema === 'string') { return rw(); }
~~
Found 2 errors.
Please provide us with the following information:
This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
src/server/core/mockDevice.ts:1428:20 - error TS2349: This expression is not callable. Type 'typeof import("D:/Digital_Twin_WSP/mock-devices-master/node_modules/random-words/index")' has no call signatures.
1428 return rw(); ~~
src/server/core/utils.ts:65:39 - error TS2349: This expression is not callable. Type 'typeof import("D:/Digital_Twin_WSP/mock-devices-master/node_modules/random-words/index")' has no call signatures.
65 if (schema === 'string') { return rw(); } ~~
Found 2 errors.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful