Skip to content

Commit 4bff9f7

Browse files
authored
Merge pull request typescript-cheatsheets#126 from akameco/patch-1
docs(ADVANCED.md): add syntax highlight
2 parents 5523471 + 4ecf70c commit 4bff9f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ADVANCED.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ More info on places you can use [const assertions](https://blog.logrocket.com/co
681681

682682
2. Higher order type inference from generic constructors
683683

684-
```
684+
```tsx
685685
type ComponentClass<P> = new (props: P) => Component<P>;
686686
declare class Component<P> {
687687
props: P;

0 commit comments

Comments
 (0)