1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

Fix typo in errors.ts JSDoc

This commit is contained in:
Tim Wang 2018-12-13 17:57:02 +08:00 committed by Ryan Dahl
parent 79b4140a77
commit 07369a6270

View file

@ -9,7 +9,7 @@ export { ErrorKind } from "gen/msg_generated";
* try {
* somethingThatMightThrow();
* } catch (e) {
* if (e instanceof DenoError && e.kind === DenoError.Overflow) {
* if (e instanceof DenoError && e.kind === ErrorKind.Overflow) {
* console.error("Overflow error!");
* }
* }