Skip to content

Commit

Permalink
[docs] TypeScript over alternative wordings
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jul 25, 2020
1 parent d7d90f2 commit 49b761a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ jobs:
- attach_workspace:
at: .
- run:
name: Typescript
name: TypeScript
command: yarn workspaces run build:typescript
- run:
name: Run typescript tests
name: Run TypeScript tests
command: yarn workspace @material-ui/pickers run test:typescript
- run:
name: Build and analyze bundlesize
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/guides/css-overrides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Pickers will also leverage `spacing` from the material-ui's theme

<Example source={CssThemeSpacing} />

#### Typescript
#### TypeScript

For TypeScript users it's also required to extend default material-ui theme typings with pickers controls.
This will also autocomplete classnames.
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/guides/upgrading-to-v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ And it is still possible to fully customize mask, checkout [this](/api/timepicke
`ref` approach to customize open/close state was replaced with `open` props and `onClose`, `onOpen` callbacks.
Check out the [new example](/guides/controlling-programmatically)

#### 🛡 Typescript
#### 🛡 TypeScript

We are working hard to make this library perfectly Typescript compatible.
We are working hard to make this library perfectly TypeScript compatible.
And from `v3` and on, date type in such props like `onChange`, `value` will automatically be inferred from the `@date-io` package you used.
So less `any` from our side :)

Expand Down

0 comments on commit 49b761a

Please sign in to comment.