We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 13340ed commit 7d65a8dCopy full SHA for 7d65a8d
src/program.ts
@@ -1044,7 +1044,9 @@ export class Program extends DiagnosticEmitter {
1044
// TODO: for (let [alias, name] of globalAliases) {
1045
for (let _keys = Map_keys(globalAliases), i = 0, k = _keys.length; i < k; ++i) {
1046
let alias = unchecked(_keys[i]);
1047
- let name = assert(globalAliases.get(alias));
+ let name = globalAliases.get(alias);
1048
+ assert(isString(name));
1049
+ name = name!
1050
if (!name.length) continue; // explicitly disabled
1051
let firstChar = name.charCodeAt(0);
1052
if (firstChar >= CharCode._0 && firstChar <= CharCode._9) {
0 commit comments