Skip to content

Commit

Permalink
fix: variable deduping in browser entrypoint (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford authored Jul 11, 2024
1 parent 15c1f96 commit e0919a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { $init, generate, generateTypes as _generateTypes } from '../obj/js-component-bindgen-component.js';
import { $init, generate as _generate, generateTypes as _generateTypes } from '../obj/js-component-bindgen-component.js';

export async function generate () {
await $init;
return generate.apply(this, arguments);
return _generate.apply(this, arguments);
}

export async function generateTypes () {
Expand Down

0 comments on commit e0919a1

Please sign in to comment.