TypeScript Language Specification v1.5
TypeScript Language Specification v1.5
TypeScript Language Specification v1.5
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
AmbientClassBodyElements:<br />
AmbientClassBodyElement<br />
AmbientClassBodyElements AmbientClassBodyElement<br />
AmbientClassBodyElement:<br />
AmbientConstructorDeclaration<br />
AmbientPropertyMemberDeclaration<br />
IndexSignature<br />
AmbientConstructorDeclaration:<br />
constructor ( ParameterList opt ) ;<br />
AmbientPropertyMemberDeclaration:<br />
AccessibilityModifier opt static opt PropertyName TypeAnnotation opt ;<br />
AccessibilityModifier opt static opt PropertyName CallSignature ;<br />
AmbientEnumDeclaration:<br />
EnumDeclaration<br />
AmbientModuleDeclaration:<br />
module IdentifierPath { AmbientModuleBody }<br />
AmbientModuleBody:<br />
AmbientModuleElements opt<br />
AmbientModuleElements:<br />
AmbientModuleElement<br />
AmbientModuleElements AmbientModuleElement<br />
AmbientModuleElement:<br />
export opt AmbientVariableDeclaration<br />
export opt AmbientFunctionDeclaration<br />
export opt AmbientClassDeclaration<br />
export opt InterfaceDeclaration<br />
export opt AmbientEnumDeclaration<br />
export opt AmbientModuleDeclaration<br />
export opt ImportDeclaration<br />
AmbientExternalModuleDeclaration:<br />
declare module StringLiteral { AmbientExternalModuleBody }<br />
AmbientExternalModuleBody:<br />
AmbientExternalModuleElements opt<br />
166