1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-10 16:11:13 -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 { * try {
* somethingThatMightThrow(); * somethingThatMightThrow();
* } catch (e) { * } catch (e) {
* if (e instanceof DenoError && e.kind === DenoError.Overflow) { * if (e instanceof DenoError && e.kind === ErrorKind.Overflow) {
* console.error("Overflow error!"); * console.error("Overflow error!");
* } * }
* } * }