simplify 'enum'
This commit is contained in:
parent
366b1ec4e0
commit
aee8d5b5e1
6 changed files with 113 additions and 59 deletions
|
|
@ -5,7 +5,7 @@ import { Bool, Char, Int } from "../lib/primitives/primitive_types.js";
|
|||
import { makeModuleStruct } from "../lib/structures/struct.types.js";
|
||||
import { lsType } from "../lib/structures/type_constructors.types.js";
|
||||
|
||||
|
||||
// Nominal type
|
||||
const symbolPerson = "Person__22a59ca589b4a7efdbe20b52f380e50f";
|
||||
|
||||
const Person = makeTypeConstructor(symbolPerson)(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue