cefn / lauf

Monorepo for lauf packages.
MIT License
5 stars 0 forks source link

Detail use of @ts-check comment #137

Open cefn opened 3 years ago

cefn commented 3 years ago

In https://cefn.com/lauf/api/modules/_lauf_store.html#immutable it's commented that...

javascript IDEs that load typings for code-completion can also indicate violations of the Readonly contract

Should offer more detail and explore how the following comment annotation triggers typechecking in VSCode,Webstorm even if it's a Javascript file...

//@ts-check