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 @@warning decorator.

The @@warning decorator is used to modify the enabled compiler warnings for the current module. See here for all available warning numbers. Prefix the warning number with + or - to enable or disable respectively.

Examples

ReScriptJS Output
// Disables warning 27 for the current module
@@warning("-27")

References

  • Warning Numbers

© 2025 The ReScript Project

About
  • Community
  • ReScript Association
Find us on