We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
It is impossible to define local interface in the function, but you can do it in the module.
module A { interface B{} // OK } (function X() { interface Y { } // Error })();