Skip to content

Commit ca4b4d1

Browse files
committed
fix typo
1 parent 283143e commit ca4b4d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TS 类型体操/248.精读《MinusOne, PickByType, StartsWith...》.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,15 +429,15 @@ interface Todo {
429429
type MutableTodo = Mutable<Todo> // { title: string; description: string; completed: boolean; }
430430
```
431431
432-
把对象从不可写变成可写
432+
把对象从可写变成不可写
433433
434434
```ts
435435
type Readonly<T> = {
436436
readonly [K in keyof T]: T[K]
437437
}
438438
```
439439
440-
从可写改成不可写也简单,主要看你是否记住了这个语法:`-readonly`
440+
从不可写改成可写也简单,主要看你是否记住了这个语法:`-readonly`
441441
442442
```ts
443443
// 本题答案

0 commit comments

Comments
 (0)