Skip to content

Commit d42cb64

Browse files
authored
Added luau-lang#123 nominal typing rfc as one of the alternatives to this rfc
Add a section about the nominal typing RFC as an alternative.
1 parent 19730ed commit d42cb64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/unique-types.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ However, since you should be able to input unique types into type functions, or
236236
# Alternatives
237237
---
238238
239+
### The nominal typing rfc
240+
There is an alternative nominal typing rfc that proposes encapsulating structural types inside of nominal types instead:
241+
[#123](https://github.com/luau-lang/rfcs/pull/123)
242+
239243
### Just use tables
240244
My example of distinct UserId and AssetId types could instead be written as
241245

0 commit comments

Comments
 (0)