I have an interface
export interface Foo {
a: string;
b: string;
}
I want to have another class that implements all keys of the interface but in other types:
export class Bar implements keysof(Foo) {
a: SomeNewType;
b: SomeNewType2;
}
Is this possible in typescript?