mirror of
https://github.com/wangdoc/typescript-tutorial.git
synced 2025-12-20 00:50:17 +08:00
docs(utility): fixed typo
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user