We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13340ed commit a067028Copy full SHA for a067028
src/program.ts
@@ -1044,7 +1044,7 @@ 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
if (!name.length) continue; // explicitly disabled
1049
let firstChar = name.charCodeAt(0);
1050
if (firstChar >= CharCode._0 && firstChar <= CharCode._9) {
0 commit comments