Only ambient modules can use quoted names.
Statements are not allowed in ambient contexts.
A 'declare' modifier cannot be used in an already ambient context.
Initializers are not allowed in ambient contexts.
'{0}' modifier cannot be used in an ambient context.
'{0}' modifier cannot appear on a module or namespace element.
Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
A promise must have a 'then' method.
The first parameter of the 'then' method of a promise must be a callback.
Enum member must have initializer.
An export assignment cannot be used in a namespace.
'{0}' modifier cannot appear on a type member.
'{0}' modifier cannot appear on an index signature.
A '{0}' modifier cannot be used with an import declaration.
Invalid 'reference' directive syntax.