Syntax Lookup

Enter some language construct you want to know more about.
This is the empty object type syntax.

Use {.} to describe an object type with no known fields.

Example

ReScriptJS Output
type empty = {.}

let acceptEmpty = (_value: empty) => ()

References