Skip to content

Commit

Permalink
[docs-infra] Fix Vale config for TypeScript references (#43751)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Sep 16, 2024
1 parent bbbcac8 commit f4a9848
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Finally, update the `typography.fontFamily` value with the variable created in t
};
```

### Typescript
### TypeScript

If you are using TypeScript, you need to extend the Pigment CSS theme types with Material UI `Theme`.
Add the following code to a file that is included in your `tsconfig.json`:
Expand Down
Binary file modified docs/mui-vale.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/mui-vale/styles/MUI/CorrectReferenceAllCases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ ignorecase: true
# for more information: https://vale.sh/docs/topics/styles/#substitution
swap:
' api': API
'typescript ': TypeScript
typescript: TypeScript
' ts': TypeScript
' js': JavaScript
javascript: JavaScript
' js': JavaScript
' css ': CSS
' html ': HTML
NPM: npm # https://css-tricks.com/start-sentence-npm/
Expand Down

0 comments on commit f4a9848

Please sign in to comment.