I have a custom class called Foo:
Foo
class Foo { constructor(public v: any) { } }
And I have a map where Foo i