Property ‘internalRepr’ is protected but type ‘Metadata’ is not a class derived from ‘Metadata

The solution for “Property ‘internalRepr’ is protected but type ‘Metadata’ is not a class derived from ‘Metadata” can be found here. The following code will assist you in solving the problem.

// You can add a path mapping in your tsconfig.json to map the rxjs in your dependency to the one in your node_modules folder:

“paths”: {
“@grpc/*”: [
“./node_modules/@grpc/*”
],
“rxjs”: [
“./node_modules/rxjs”
]
},

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in