docs(utility): fixed typo

This commit is contained in:
CodePencil
2025-09-03 14:06:34 +08:00
parent 2d37789c3d
commit 034ebde30b

View File

@@ -277,7 +277,7 @@ type Omit<T, K extends keyof any>
`OmitThisParameter<Type>`从函数类型中移除 this 参数。
```typescript
function toHex(this: Number) {
function toHex(this: number) {
return this.toString(16);
}