Use @types/dynmap where possible (Closes #224)

This commit is contained in:
James Lyne 2021-11-12 00:23:08 +00:00
parent 0c87849356
commit 1237b9cc5f

View File

@ -208,5 +208,5 @@ const decodeTextarea = document.createElement('textarea');
export const decodeHTMLEntities = (text: string) => {
decodeTextarea.innerHTML = text;
return decodeTextarea.textContent;
return decodeTextarea.textContent || '';
}