mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-05-04 10:43:48 +01:00
Update docs/user-defined-type-functions.md
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
parent
343c3472c0
commit
f45b08be4a
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ Instead, this RFC proposes that we accept that type functions, like the rest of
|
||||||
|
|
||||||
### `types` API Reference
|
### `types` API Reference
|
||||||
|
|
||||||
This section details the initial programming interface we propose for `type`s when they are reflected into type function bodies. Each section is separated by headers (e.g. Singleton) and describe the methods available to that category of type. The initial section, titled `types`, describes the elements of the interface common to every category of type. All attributes of newly-created `type`s are initialized with empty tables / arrays and `nil`. All arguments are passed by references.
|
This section details the initial programming interface we propose for `type`s when they are reflected into type function bodies. Each section is separated by headers (e.g. Singleton) and describe the methods available to that category of type. The initial section, titled `types`, describes the elements of the interface common to every category of type. All properties of newly-created `type`s are initialized with empty tables / arrays and `nil`. All arguments are passed by references.
|
||||||
|
|
||||||
<details><summary>Expand for full type API reference.</summary>
|
<details><summary>Expand for full type API reference.</summary>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue