dfinity / node-motoko

Compile and run Motoko smart contracts in Node.js or the browser.
Apache License 2.0
15 stars 4 forks source link

Fix type of `Diagnostic.severity` #73

Closed rvanasa closed 1 year ago

rvanasa commented 1 year ago

The Diagnostic type definition was originally of type string. This PR changes this to number, which has the added benefit of making the type definition compatible with VS Code's Diagnostic type.

github-actions[bot] commented 1 year ago

size-limit report 📦

Path Size
lib/index.js 13.53 KB (0%)
packages/latest/base.json 88.83 KB (0%)
versions/latest/moc.min.js 568.67 KB (0%)
versions/latest/moc_interpreter.min.js 282.2 KB (0%)
versions/latest/didc.min.js 60.46 KB (0%)