ReScript HomeReScript Home
DocsPlaygroundBlogCommunityPackages
  • Playground
  • Blog
  • Community
  • Packages
  • X
  • Bluesky
  • GitHub
  • Forum
Language ManualAPISyntax LookupReact

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

  • Object

© 2026 The ReScript Project

About
  • Community
  • ReScript Association
Find us on