Hacker News new | ask | show | jobs
by sythe2o0 3142 days ago
If you need this, you can write type assertion lines in a var block of the interfaces that you explicitly want to implement (and this will throw compile time errors if they don't).