Skip to content

Commit 8d2532f

Browse files
authored
Fix typos on the annotations file (#28)
1 parent 174b508 commit 8d2532f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/wiki/annotations.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ Define an additional signature for a function.
881881

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

10541054
### @private
10551055

1056-
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.
1056+
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.
10571057

10581058
**Syntax**
10591059

@@ -1213,7 +1213,7 @@ function request(url) end
12131213
### @source
12141214

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

12181218
**Syntax**
12191219

0 commit comments

Comments
 (0)