Merge pull request #137 from wjw020206/patch-1
Some checks failed
TypeScript tutorial CI / Generating pages (push) Has been cancelled

docs(utility): fixed typo
This commit is contained in:
Ruan YiFeng
2025-09-03 22:33:41 +08:00
committed by GitHub

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);
}