Skip to content

Commit

Permalink
Update WIT examples in README to use semicolons (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcharles authored Oct 12, 2023
1 parent 93766d8 commit 59538f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ console.log("Hello world!");

`index.wit`:
```
package local:main
package local:main;
world index-world {
export foo: func()
export foo: func();
}
```

Expand All @@ -191,10 +191,10 @@ export function fooBar() {

`index.wit`:
```
package local:main
package local:main;
world index {
export foo-bar: func()
export foo-bar: func();
}
```

Expand All @@ -218,10 +218,10 @@ export default function () {

`index.wit`:
```
package local:main
package local:main;
world index {
export default: func()
export default: func();
}
```

Expand Down

0 comments on commit 59538f9

Please sign in to comment.