strictNullChecks (#4666)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
@@ -3,8 +3,6 @@ import { URL } from 'url';
|
||||
import { urlRegex } from './prelude';
|
||||
|
||||
export function fromHtml(html: string): string {
|
||||
if (html == null) return null;
|
||||
|
||||
const dom = parseFragment(html) as DefaultTreeDocumentFragment;
|
||||
|
||||
let text = '';
|
||||
|
Reference in New Issue
Block a user