wit-component 0.3.2

Tooling for working with `*.wit` and component files together.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

world my-world {
  import foo: interface {
    a: func() -> string
  }

  export bar: interface {
    a: func()
    b: func() -> string
  }

  default export interface {
    a: func(x: string) -> tuple<string, u32, string>
  }
}