Skip to content
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 TS2349: This expression is not callable. #19

Open
Marco-Minchala opened this issue Feb 26, 2023 · 0 comments
Open

Error TS2349: This expression is not callable. #19

Marco-Minchala opened this issue Feb 26, 2023 · 0 comments

Comments

@Marco-Minchala
Copy link

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?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant