File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -838,6 +838,7 @@ export class Compiler extends DiagnosticEmitter {
838838
839839 // just traverse members below
840840 case ElementKind . ENUM :
841+ case ElementKind . INTERFACE_PROTOTYPE :
841842 case ElementKind . NAMESPACE :
842843 case ElementKind . TYPEDEFINITION :
843844 case ElementKind . INDEXSIGNATURE : break ;
@@ -907,6 +908,7 @@ export class Compiler extends DiagnosticEmitter {
907908 if ( propertyInstance ) this . compileProperty ( propertyInstance ) ;
908909 break ;
909910 }
911+ case ElementKind . INTERFACE_PROTOTYPE :
910912 case ElementKind . NAMESPACE :
911913 case ElementKind . TYPEDEFINITION :
912914 case ElementKind . ENUMVALUE :
Original file line number Diff line number Diff line change @@ -58,3 +58,9 @@ export namespace outer {
5858}
5959
6060export { renamed_mul } from "./export" ;
61+
62+ // interfaces (should not error)
63+ export interface Iface { }
64+ export namespace outer {
65+ export interface Iface { }
66+ }
You can’t perform that action at this time.
0 commit comments