Click here for StackBlitz Example
Problem:
Why can't I have Foo without Bar or more specifically how do I change this to allow either or both, but complain about anything else?
TS Warning confusing me....
index.ts
service.ts
serviceConfig.ts
Presumably my Service Method - dataWithValidKeys: { [key in validKeys]: any } is wrong