Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WIT examples in README to use semicolons #488

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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