Skip to content

Commit a209a5b

Browse files
committed
add autocapitalize info stenciljs/core#3692
1 parent 04bdeaa commit a209a5b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/docs/introduction/upgrading-to-stencil-three.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ Please upgrade local development machines, continuous integration pipelines, etc
8787
```
8888
`event` arguments to either callback should be updated to take this narrower typing into account
8989

90+
### Narrowed Typing for `autocapitalize` Attribute
91+
The [`autocaptialize` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize) has been narrowed from type `any` to type `string`.
92+
This changes brings Stencil into closer alignment with TypeScript's typings for the attribute.
93+
No explicit changes are needed, unless a project was passing non-strings to the attribute.
94+
9095
## Output Targets
9196

9297
### `dist-custom-elements` Output Target

0 commit comments

Comments
 (0)