Services/SchoolService.ts:205:23 - error TS2345: Argument of type 'ISchoolService' is not assignable to parameter of type 'ServiceDefinition<UntypedServiceImplementation>'.
Index signature for type 'string' is missing in type 'ISchoolService'.
205 server.addService(SchoolService, new ServerImpl());
Environment
OS name, version and architecture: [e.g. Linux Ubuntu 18.04 amd64] Ubuntu 24.04
Node version [e.g. 8.10.0] 22.4.1
Node installation method [e.g. nvm] apt
If applicable, compiler version [e.g. clang 3.8.0-2ubuntu4] g++ 13.2.0
I generate grpc Typescript code with:
and hit the following error:
Environment
apt
What do I miss?