Skip to content

Commit 07830d2

Browse files
authored
Merge pull request #137 from wjw020206/patch-1
docs(utility): fixed typo
2 parents 2d37789 + 034ebde commit 07830d2

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)