Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Type 'null' is not assignable to type 'string' #54

Open
lmrnba6 opened this issue May 7, 2018 · 0 comments
Open

Type 'null' is not assignable to type 'string' #54

lmrnba6 opened this issue May 7, 2018 · 0 comments

Comments

@lmrnba6
Copy link

lmrnba6 commented May 7, 2018

if (html === '<p><br></p>') html = null;

Can you please add type to html that way on the line 111 : let html: string | null = this.editorElem.children[0].innerHTML;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant