question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeScript: This expression is not callable. Not all constituents of type 'Object | RawDecorator' are callable.

See original GitHub issue

This expression is not callable.
Not all constituents of type ‘Object | RawDecorator’ are callable.

declare module '@nozbe/watermelondb/utils/common/makeDecorator' { import { ReplaceReturn } from '@nozbe/watermelondb/utils/common'

export type Descriptor = Object

Someone was working on types, has this been fixed?. Is there anything I can do to help.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
neoliteccommented, May 13, 2020

Same issue for @field:

image

0reactions
neoliteccommented, May 14, 2020

@azizhk yes, 0.16.0. Hum I think you’ll talk about 0.16.1-0+ that seems to be fixed beta versions 😃 Thanks 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not all constituents of type 'X | Y' are callable (TS) | bobbyhadz
The error "This expression is not callable. Not all constituents of type 'X | Y" are callable" occurs when a value might be...
Read more >
Typescript interface: Not all constituents of type 'string ...
I cannot write types to specific properties as real objects contains multiple entries, unlike example object. But second solution works for me.
Read more >
Reactspring And Typescript Not Callable Error - ADocLib
React Typescript Hook Error This Expression Is Not Callable. ... Not all constituents of type 'Object | RawDecorator' are callable. declare module ...
Read more >
Typescript: Not all constituents of type 'boolean - Paul Edenburg
Typescript : Not all constituents of type 'boolean | (() => void)' are callable. The full error: This expression is not callable.
Read more >
typescript this expression is not callable - You.com
Based on your error Type '{ getUserInfo(requestData: object): Promise; }' has no call signatures instead of calling something(requestData) you should be calling ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found