diff --git a/docs/utility.md b/docs/utility.md index 651d3b1..9569934 100644 --- a/docs/utility.md +++ b/docs/utility.md @@ -277,7 +277,7 @@ type Omit `OmitThisParameter`从函数类型中移除 this 参数。 ```typescript -function toHex(this: Number) { +function toHex(this: number) { return this.toString(16); }