aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/generated_classes.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/bindings/generated_classes.zig')
-rw-r--r--src/bun.js/bindings/generated_classes.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bun.js/bindings/generated_classes.zig b/src/bun.js/bindings/generated_classes.zig
index 70cf4728d..bf1942fd6 100644
--- a/src/bun.js/bindings/generated_classes.zig
+++ b/src/bun.js/bindings/generated_classes.zig
@@ -1824,6 +1824,9 @@ pub const JSElement = struct {
if (@TypeOf(Element.before) != CallbackType)
@compileLog("Expected Element.before to be a callback but received " ++ @typeName(@TypeOf(Element.before)));
+ if (@TypeOf(Element.getCanHaveContent) != GetterType)
+ @compileLog("Expected Element.getCanHaveContent to be a getter");
+
if (@TypeOf(Element.getAttribute) != CallbackType)
@compileLog("Expected Element.getAttribute to be a callback but received " ++ @typeName(@TypeOf(Element.getAttribute)));
if (@TypeOf(Element.hasAttribute) != CallbackType)
@@ -1846,6 +1849,9 @@ pub const JSElement = struct {
if (@TypeOf(Element.replace) != CallbackType)
@compileLog("Expected Element.replace to be a callback but received " ++ @typeName(@TypeOf(Element.replace)));
+ if (@TypeOf(Element.getSelfClosing) != GetterType)
+ @compileLog("Expected Element.getSelfClosing to be a getter");
+
if (@TypeOf(Element.setAttribute) != CallbackType)
@compileLog("Expected Element.setAttribute to be a callback but received " ++ @typeName(@TypeOf(Element.setAttribute)));
if (@TypeOf(Element.setInnerContent) != CallbackType)
@@ -1862,8 +1868,10 @@ pub const JSElement = struct {
@export(Element.finalize, .{ .name = "ElementClass__finalize" });
@export(Element.getAttribute, .{ .name = "ElementPrototype__getAttribute" });
@export(Element.getAttributes, .{ .name = "ElementPrototype__getAttributes" });
+ @export(Element.getCanHaveContent, .{ .name = "ElementPrototype__getCanHaveContent" });
@export(Element.getNamespaceURI, .{ .name = "ElementPrototype__getNamespaceURI" });
@export(Element.getRemoved, .{ .name = "ElementPrototype__getRemoved" });
+ @export(Element.getSelfClosing, .{ .name = "ElementPrototype__getSelfClosing" });
@export(Element.getTagName, .{ .name = "ElementPrototype__getTagName" });
@export(Element.hasAttribute, .{ .name = "ElementPrototype__hasAttribute" });
@export(Element.onEndTag, .{ .name = "ElementPrototype__onEndTag" });