From 59db8293f4d823201f5b55c4ade078022e07c767 Mon Sep 17 00:00:00 2001 From: xuchaobei Date: Thu, 23 Sep 2021 17:28:22 +0800 Subject: [PATCH] doc: fix typo in `async_hooks.md` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/40187 Reviewed-By: Qingyu Deng Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Zijian Liu Reviewed-By: Luigi Pinca --- doc/api/async_hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 02bb9d3001bb28..697910fb73a8a8 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -356,7 +356,7 @@ created, while `triggerAsyncId` shows *why* a resource was created. The following is a simple demonstration of `triggerAsyncId`: ```mjs -import { createHook, executionASyncId } from 'async_hooks'; +import { createHook, executionAsyncId } from 'async_hooks'; import { stdout } from 'process'; import net from 'net';