diff --git a/src/dawn_node/interop/WebGPU.cpp.tmpl b/src/dawn_node/interop/WebGPU.cpp.tmpl index 2270255bb2..0c0dc3fd4a 100644 --- a/src/dawn_node/interop/WebGPU.cpp.tmpl +++ b/src/dawn_node/interop/WebGPU.cpp.tmpl @@ -154,7 +154,7 @@ Wrappers* Wrappers::instance = nullptr; ), {{- end}} {{- range $c := ConstantsOf $}} - StaticValue("{{$c.Name}}", ToJS(env, {{$.Name}}::{{$c.Name}})), + StaticValue("{{$c.Name}}", ToJS(env, {{$.Name}}::{{$c.Name}}), napi_default_jsproperty), {{- end}} }); }