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

Unable to compile/run #142

Open
jaroslavsaxa opened this issue Feb 3, 2022 · 0 comments
Open

Unable to compile/run #142

jaroslavsaxa opened this issue Feb 3, 2022 · 0 comments

Comments

@jaroslavsaxa
Copy link

Hi Brian,

attempting to start/compile ./backend

npm run start:dev

I'm facing with issue below:

src/dids/didresolver.service.ts:22:43 - error TS2349: This expression is not callable.
Each member of the union type '{ (predicate: (this: void, value: string, index: number, obj: string[]) => value is S, thisArg?: any): S; (predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string; } | { ...; }' has signatures, but none of those signatures are compatible with each other.

22 const didCommService = didDoc.service.find((s) => s.type === serviceType);

image
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