Update docs/user-defined-type-functions.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
aaron 2024-08-27 19:14:51 -07:00 committed by GitHub
parent 7b30204b25
commit 497c4e0546
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -157,7 +157,7 @@ This section details the initial programming interface we propose for `type`s wh
| Instance Methods | Return Type | Description | | Instance Methods | Return Type | Description |
| ------------- | ------------- | ------------- | | ------------- | ------------- | ------------- |
| `setparameters(pack: {type}?, variadic: type?)` | `nil` | sets the function's parameter types to the arguments | | `setparameters(pack: {type}?, variadic: type?)` | () | sets the function's parameter types to the arguments |
| `parameters()` | `{pack: {type}?, variadic: type?}` | returns the function's parameter types as a table | | `parameters()` | `{pack: {type}?, variadic: type?}` | returns the function's parameter types as a table |
| `setreturns(pack: {type}?, variadic: type?)` | () | sets the function's return types to the arguments | | `setreturns(pack: {type}?, variadic: type?)` | () | sets the function's return types to the arguments |
| `returns()` | `{pack: {type}?, variadic: type?}` | returns the function's return types as a table | | `returns()` | `{pack: {type}?, variadic: type?}` | returns the function's return types as a table |