Hey, i searched the docs for this but either it doesn’t exist or i’m bad at searching… Is there a way to forbid using specific types? Specifically, i want to forbid using
Set<SomeInterfaceType>
on public APIs in our project because the Swift interop for it is really bad.
b
Brais Gabin
01/10/2022, 11:05 AM
There is not. The nearest thing is forbid import but
Set
doesn't need import so I don't think it would help you. Can you open an issue to track this feature?