Skip to content

Fix typos on the annotations file #28

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

Merged
merged 1 commit into from
Mar 20, 2024
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
6 changes: 3 additions & 3 deletions src/content/wiki/annotations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ Define an additional signature for a function.

<Remark type="note">
If you are writing [definition files](/wiki/definition-files), it is
recommended to instead write multiple function definitons, one for each needed
recommended to instead write multiple function definitions, one for each needed
signature with its [`@param`](#param) and [`@return`](#return) annotations.
This allows the functions to be as detailed as possible. Because the functions
do not exist at runtime, this is acceptable.
Expand Down Expand Up @@ -1053,7 +1053,7 @@ Looking to do this with a table? You probably want to use [`@enum`](#enum)

### @private

Mark a function as private to a [`@class`](#class). Private functions can be accessed only from within their class and are **not** accessable from child classes.
Mark a function as private to a [`@class`](#class). Private functions can be accessed only from within their class and are **not** accessible from child classes.

**Syntax**

Expand Down Expand Up @@ -1213,7 +1213,7 @@ function request(url) end
### @source

Provide a reference to some source code which lives in another file. When
searching for the defintion of an item, its `@source` will be used instead.
searching for the definition of an item, its `@source` will be used instead.

**Syntax**

Expand Down