fix(compiler): Update types for TypeScript nullability support
This commit is contained in:
@ -78,7 +78,7 @@ class _Humanizer implements html.Visitor {
|
||||
|
||||
private _appendContext(ast: html.Node, input: any[]): any[] {
|
||||
if (!this.includeSourceSpan) return input;
|
||||
input.push(ast.sourceSpan.toString());
|
||||
input.push(ast.sourceSpan !.toString());
|
||||
return input;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user