If I have an interface `Facade` that implements a ...
# getting-started
a
If I have an interface
Facade
that implements a few other interfaces, but I don’t want to leak
One
and
Two
outside the compilation unit, are there any options? Making
One
and
Two
internal does not work.
Copy code
interface One
interface Two
interface Facade: One, Two
The interfaces are broken up like this so separate classes can implement class based delegation of One, Two:
Copy code
interface One
interface Two
interface Facade : One, Two

class FacadeImpl(
    one: One,
    two: Two,
) : Facade, One by one, Two by two
Clients in other modules should only see a unified
Facade
interface