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

This expression is not callable. #141

Open
MyNameIsNotIsak opened this issue Nov 28, 2024 · 1 comment
Open

This expression is not callable. #141

MyNameIsNotIsak opened this issue Nov 28, 2024 · 1 comment

Comments

@MyNameIsNotIsak
Copy link

MyNameIsNotIsak commented Nov 28, 2024

I get this error when trying to import imglybackgroundRemoval:

[{
"resource": "/my-app-4/src/App.tsx",
"owner": "typescript",
"code": "2349",
"severity": 8,
"message": "This expression is not callable.\n Type 'typeof import("f:/Futgraphics/Card-Creator-v2/my-app-4/node_modules/@imgly/background-removal/dist/src/index")' has no call signatures.",
"source": "ts",
"startLineNumber": 2526,
"startColumn": 34,
"endLineNumber": 2526,
"endColumn": 56
}]

I import it like this: import imglybackgroundRemoval from '@imgly/background-removal';

@DanielHauschildt
Copy link
Contributor

Which version are you using?
Can you try to use a previous version?

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

2 participants