mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-06 02:00:01 -06:00
Fixing formatting glitch
This commit is contained in:
parent
d6618e163b
commit
d2717eb268
Binary file not shown.
@ -4480,9 +4480,9 @@ External import declarations are used to import external modules and create loca
|
||||
   `import` *Identifier* `=` *ExternalModuleReference* `;`
|
||||
|
||||
  *ExternalModuleReference:*
|
||||
   `require` `(` *StringLiteral* `)
|
||||
   `require` `(` *StringLiteral* `)`
|
||||
|
||||
`The string literal specified in an *ExternalModuleReference* is interpreted as an external module name (section [11.2.1](#11.2.1)).
|
||||
The string literal specified in an *ExternalModuleReference* is interpreted as an external module name (section [11.2.1](#11.2.1)).
|
||||
|
||||
An external import declaration introduces a local identifier that references a given external module. The local identifier becomes an alias for, and is classified exactly like, the entity or entities exported from the referenced external module. Specifically, if the referenced external module contains no export assignment the identifier is classified as a module, and if the referenced external module contains an export assignment the identifier is classified exactly like the entity or entities named in the export assignment.
|
||||
|
||||
@ -5182,9 +5182,9 @@ This appendix contains a summary of the grammar found in the main document. As d
|
||||
   `import` *Identifier* `=` *ExternalModuleReference* `;`
|
||||
|
||||
  *ExternalModuleReference:*
|
||||
   `require` `(` *StringLiteral* `)
|
||||
   `require` `(` *StringLiteral* `)`
|
||||
|
||||
  `*ExportAssignment:*
|
||||
  *ExportAssignment:*
|
||||
   `export` `=` *Identifier* `;`
|
||||
|
||||
## <a name="A.10"/>A.10 Ambients
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user