Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions other/common-issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Common Issues

### Why can't I use `number.toString()`?

Since Airship uses Luau, you can use `tostring(number)`.
[Click here to learn more about how Airship uses Luau](https://docs.airship.gg/other/javascript-greater-than-luau#strings).
3 changes: 3 additions & 0 deletions typescript/typescript-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ In the folder you can create a new script by right clicking and selecting:\

Useful Airship services can be found under the `Game` `Airship` and `Platform` globals.

## Important Considerations

Airship uses the [Luau Runtime](https://github.com/luau-lang/luau) to run scripts from the cloud. This means all TypeScript files are compiled to Luau instead of JavaScript and there are a few gotcha's when expecting a JavaScript function or library to exist. [Check this page for more information.](https://docs.airship.gg/other/javascript-greater-than-luau)