mirror of
https://github.com/wangdoc/typescript-tutorial.git
synced 2025-12-20 00:50:17 +08:00
Merge pull request #137 from wjw020206/patch-1
Some checks failed
TypeScript tutorial CI / Generating pages (push) Has been cancelled
Some checks failed
TypeScript tutorial CI / Generating pages (push) Has been cancelled
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