From 0efc55445cba55f279edc95cf86db0f02500f2de Mon Sep 17 00:00:00 2001 From: Aire-One Date: Sun, 2 Oct 2022 20:54:01 +0200 Subject: [PATCH] fix(types): scan_html NodeStack:is missing self --- types/web_sanitize/query/scan_html.d.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/web_sanitize/query/scan_html.d.tl b/types/web_sanitize/query/scan_html.d.tl index a9f886b..05f0ae2 100644 --- a/types/web_sanitize/query/scan_html.d.tl +++ b/types/web_sanitize/query/scan_html.d.tl @@ -14,7 +14,7 @@ local record Scanner record NodeStack -- stack[n] - get the nth item in the stack (as an HTMLNode) current: function(self: NodeStack): HTMLNode - is: function(query: string): boolean + is: function(self: NodeStack, query: string): boolean end scan_html: function(html_text: string, callback: function(stack: NodeStack), opts: table)