Skip to content

Commit 94874ca

Browse files
fix(jco): disable strict-by-default for js-component-bindgen build
1 parent c340816 commit 94874ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/xtask/src/build/jco.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ fn transpile(args: TranspileArgs) -> Result<()> {
197197
import_bindings: Some(BindingsMode::Js),
198198
guest: false,
199199
async_mode: None,
200-
strict: true,
200+
// TODO(breaking): strict by default
201+
strict: false,
201202
};
202203

203204
let transpiled = js_component_bindgen::transpile(&adapted_component, opts)?;

0 commit comments

Comments
 (0)