Constructs namespace.
Code emission scope the namespace created for.
Optional
init: EsNamespaceInitInitialization options.
Enclosing namespace, or undefined
for top-level one.
Name registry used to reserve names.
Always refers itself.
Registers symbol
within namespace and assigns a name for it.
The symbol will be visible within namespace itself and its nested ones.
Called by symbol declaration method.
Type of symbol naming.
Symbol naming.
TypeError if the symbol
is already named within another namespace.
Checks whether this namespace encloses another one.
Namespace to checks.
true
if the given namespace is nested within this namespace or any namespaces nested
within it, or false
otherwise.
Searches for the symbol named in this namespace or one of enclosing namespaces.
Type of symbol naming.
Reference to target symbol.
Either found symbol naming, or undefined
when symbol
is not visible.
Creates nested namespace.
Code emission scope the nested namespace created for.
Optional
init: Omit<EsNamespaceInit, "enclosing">Nested namespace initialization options.
New namespace nested within current one.
Refers the symbol visible in this namespace.
Type of symbol naming.
Reference to symbol previously named in this namespace or one of enclosing ones.
Referred symbol naming.
Generated using TypeDoc
Namespace used to resolve naming conflicts.