Closure Compilerâs type language is a bit complicated. It has unions (âvariable x can be A or Bâ), structural functions (âvariable x is a function that returns a numberâ), and record types (âvariable x is any object with properties foo and barâ). A lot of people have told us that thatâs still not expressive enough. There are many ways that you can write JavaScript that do not fit cleanly into our
{{#tags}}- {{label}}
{{/tags}}