doc: fix typo in deprecations.md

PR-URL: https://github.com/nodejs/node/pull/37282
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
This commit is contained in:
marsonya
2021-02-09 00:09:32 +05:30
committed by Antoine du Hamel
parent 9ce27a9b4a
commit ce4798b555

View File

@@ -2483,7 +2483,7 @@ called, not whether `'finish'` has been emitted and the underlying data
is flushed.
Use [`response.writableFinished`][] or [`response.writableEnded`][]
accordingly instead to avoid the ambigiuty.
accordingly instead to avoid the ambiguity.
To maintain existing behaviour `response.finished` should be replaced with
`response.writableEnded`.