You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The grammar in Appendix A of the spec does not appear to allow the syntax:
declare module "foo"{//...}
In particular, the grammar does not appear to allow the keyword declare to immediately precede the module keyword in the AmbientExternalModuleDeclaration production rule or any usage thereof. The compiler, however, does require the declare to be present. Am I missing something?
The text was updated successfully, but these errors were encountered:
yortus
changed the title
Language Specification: AmbientExternalModuleDeclaration missing "declare"?
[spec] AmbientExternalModuleDeclaration missing "declare"?
Nov 16, 2014
The grammar in Appendix A of the spec does not appear to allow the syntax:
In particular, the grammar does not appear to allow the keyword
declare
to immediately precede themodule
keyword in the AmbientExternalModuleDeclaration production rule or any usage thereof. The compiler, however, does require thedeclare
to be present. Am I missing something?The text was updated successfully, but these errors were encountered: