Skip to content

Commit

Permalink
fix: docs(typo's) (#5432)
Browse files Browse the repository at this point in the history
## Checklist

- [ ] Title matches [Winglang's style guide](https://www.winglang.io/contributing/start-here/pull_requests#how-are-pull-request-titles-formatted)
- [ ] Description explains motivation and solution
- [ ] Tests added (always)
- [ ] Docs updated (only required for features)
- [ ] Added `pr/e2e-full` label if this feature requires end-to-end testing

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
NathanTarbert authored Jan 12, 2024
1 parent 586cc9d commit 3ea81d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/07-examples/10-using-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ To call this in preflight code, define the function as an `extern` in a class.

**Note:** Extern functions must be `static.`

If you want to use the function outside of the calss, be sure to decalre it as `pub`.
If you want to use the function outside of the class, be sure to declare it as `pub`.

```ts
class JsExample {
Expand Down

0 comments on commit 3ea81d9

Please sign in to comment.