Skip to content

Commit

Permalink
chore(wasm): add BundleWithDep type
Browse files Browse the repository at this point in the history
  • Loading branch information
mitfik committed Jan 5, 2024
1 parent cbd5af4 commit a102a39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions oca-bundle/bindings/js/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,11 @@ type AST = {

#[wasm_bindgen(typescript_custom_section)]
const OCA_TYPE: &'static str = r#"
type BundleWithDeps = {
bundle: OCABundle,
dependencies: string[]
}
type OCABundle = {
v: string,
d: string,
Expand Down

0 comments on commit a102a39

Please sign in to comment.