diff --git a/docs/uts/function.md b/docs/uts/function.md index 4e1c1696c5d64f8b4bf78ac4986ed13ad52512e2..e2c45fb4ce08dfd410478c1caabff5a09124b356 100644 --- a/docs/uts/function.md +++ b/docs/uts/function.md @@ -350,7 +350,7 @@ fn() ``` ```ts -const fn: (() => void) | null = null +let fn: (() => void) | null = null fn = function () { console.log(fn) // 此时 fn 可以正常访问 }