The demo at https://bytecodealliance.github.io/wit-bindgen/ shows this without editing anything:
expected '.', found keyword `default`
--> input:8:3
|
8 | default export interface {
| ^
It has to do with the default .wit file, which does not currently parse. This could be a parsing bug. Anyways, I think it would be better to use a .wit example that is guaranteed to work, e.g. something that's synced with the examplre