Skip to content

Commit 034ebde

Browse files
committed
docs(utility): fixed typo
1 parent 2d37789 commit 034ebde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/utility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ type Omit<T, K extends keyof any>
277277
`OmitThisParameter<Type>`从函数类型中移除 this 参数。
278278

279279
```typescript
280-
function toHex(this: Number) {
280+
function toHex(this: number) {
281281
return this.toString(16);
282282
}
283283

0 commit comments

Comments
 (0)