Skip to content

Commit 014ab1c

Browse files
klmhyeonwooCopilot
andauthored
Update package/stringUtil/unescapeHtml/index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f4a302d commit 014ab1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package/stringUtil/unescapeHtml/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export default function unescapeHtml(str: string): string {
1+
export default function unescapeHtml(str: string | null | undefined): string | null | undefined {
22
if (str == null) return str;
33
return str
44
.replace(/&amp;/g, "&")

0 commit comments

Comments
 (0)