Skip to content

Commit 8458a2c

Browse files
committed
fix: resolve advanced types path error
1 parent bde41ab commit 8458a2c

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* intersection & union types; utility version; typescripts reference ([06fc3de](https://github.com/Rain120/typescript-guide/commit/06fc3de9cd11890024e172ee69b480924ddad295))
1919
* plop auto create docs model ([1f5a2f9](https://github.com/Rain120/typescript-guide/commit/1f5a2f94bbd7a430bbfbb48a09718b8ec9d14190))
2020
* plop new docs & update alias; update plop template; add docs catalog & folders ([dd5326a](https://github.com/Rain120/typescript-guide/commit/dd5326ac2934069c2cb10238c674e4dc86844274))
21+
* refactor types(intersection, union, guard) to advanced types ([bde41ab](https://github.com/Rain120/typescript-guide/commit/bde41ab8e61ae59f21c907c7a1a86e932ee71f31))
2122
* ts basic type; update logo; guide; add editorconfig ([c0b6eb2](https://github.com/Rain120/typescript-guide/commit/c0b6eb272ab4d87706902cdda365230e507b860b))
2223
* ts operator; compile config; fix: playground frame width bug ([f2bcaa0](https://github.com/Rain120/typescript-guide/commit/f2bcaa05bfdf574037ec54ed3e651ce1d1353b5c))
2324
* type assertion ([f77f51c](https://github.com/Rain120/typescript-guide/commit/f77f51c574f036d6079742eca8f8affa7b06f617))

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ Learning all about the base of Typescript, and practice it
3939

4040
- [x] [Basic](./docs/zh/basic/README.md)
4141

42-
- [x] [Type Assertion](./docs/zh/type-assertion/README.md)
42+
- [x] [Type Assertion](./docs/zh/advanced-types/type-assertion/README.md)
4343

44-
- [x] [Intersection Types](../intersection-types/README.md)
44+
- [x] [Advanced Types](./docs/zh/advanced-types/README.md)
4545

46-
- [x] [Union Types](./docs/zh/union-types/README.md)
46+
- [x] [Intersection Types](./docs/zh/advanced-types/intersection-types/README.md)
4747

48-
- [ ] [Type Guard](./docs/zh/type-guard/README.md)
48+
- [x] [Union Types](./docs/zh/advanced-types/union-types/README.md)
49+
50+
- [ ] [Type Guard](./docs/zh/advanced-types/type-guard/README.md)
4951

5052
- [ ] [Array](./docs/zh/array/README.md)
5153

docs/zh/advanced-types/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## 目录
22

3-
- [Typescript 类型断言](./type-assertion/README.md)
4-
53
- [TypeScript 交叉类型](./intersection-types/README.md)
64

75
- [Typescript 联合类型](./union-types/README.md)
86

7+
- [Typescript 类型保护](./type-guard/README.md)
8+
99
## 参考资料
1010

1111
[Handbook - advanced types](https://www.typescriptlang.org/docs/handbook/advanced-types.html)

docs/zh/advanced-types/intersection-types/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
```ts
1010
interface Boy {
11-
handsome: boolean;
11+
handsome: boolean;
1212
}
1313

1414
interface Girl {
15-
cute: boolean;
15+
cute: boolean;
1616
}
1717

1818
type Person = Boy & Girl;

docs/zh/guide/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ Learning all about the base of Typescript, and practice it
4242

4343
- [x] [Type Assertion](../type-assertion/README.md)
4444

45-
- [x] [Intersection Types](../intersection-types/README.md)
45+
- [x] [Advanced Types](../advanced-types/README.md)
4646

47-
- [x] [Union Types](../union-types/README.md)
47+
- [x] [Intersection Types](../advanced-types/intersection-types/README.md)
4848

49-
- [ ] [Type Guard](../type-guard/README.md)
49+
- [x] [Union Types](../advanced-types/union-types/README.md)
50+
51+
- [ ] [Type Guard](../advanced-types/type-guard/README.md)
5052

5153
- [ ] [Array](../array/README.md)
5254

0 commit comments

Comments
 (0)