Argument of type 'TypedPropertyDescriptor<(MyService: MyService) => any>' is not assignable to parameter of type '{ value: any; }'.
Property 'value' is optional in type 'TypedPropertyDescriptor<(MyService: MyService) => any>' but required in type '{ value: any; }'.
In Typescript for static class methods, there is an error with the value property of the defineProperty descriptor.
Here ist the optional value of the TypedPropertyDescriptor: https://github.com/Microsoft/TypeScript/blob/727b9/src/lib/core.d.ts#L1245