From 42365dee6b28da5ab4017508b1ba15be503f001e Mon Sep 17 00:00:00 2001 From: taoqf Date: Fri, 15 Sep 2023 14:59:00 +0800 Subject: [PATCH] fix: #251 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6d8510f..79884d6 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ class HTMLElement{ Node appendChild(Node node) this insertAdjacentHTML('beforebegin' | 'afterbegin' | 'beforeend' | 'afterend' where, string html) this setAttribute(string key, string value) - this setAttributes(Record~string, string~ attrs) + this setAttributes(Record string, string attrs) this removeAttribute(string key) string getAttribute(string key) this exchangeChild(Node oldNode, Node newNode) @@ -143,7 +143,7 @@ class HTMLElement{ string innerHTML string outerHTML string textContent - Record~string, string~ attributes + Record attributes [number, number] range } class Node{