You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/content/wiki/annotations.mdx
+3-3
Original file line number
Diff line number
Diff line change
@@ -881,7 +881,7 @@ Define an additional signature for a function.
881
881
882
882
<Remarktype="note">
883
883
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
885
885
signature with its [`@param`](#param) and [`@return`](#return) annotations.
886
886
This allows the functions to be as detailed as possible. Because the functions
887
887
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)
1053
1053
1054
1054
### @private
1055
1055
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.
1057
1057
1058
1058
**Syntax**
1059
1059
@@ -1213,7 +1213,7 @@ function request(url) end
1213
1213
### @source
1214
1214
1215
1215
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.
0 commit comments