Skip to content

Commit e609547

Browse files
authored
minor improvements to "adding non-standard attributes" (#400)
1 parent 0e2a0d9 commit e609547

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced/types-react-ap.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ Anything not listed above is considered an internal type and not public. If you'
130130
### Adding non-standard attributes
131131

132132
The attributes allowed on host components such as `button` or `img` follow the
133-
HTML living standard. New features that are not yet part of specification
133+
[HTML living standard](https://html.spec.whatwg.org/). New features that are not yet part of the living standard
134134
or are only implemented by certain browsers will therefore cause a type error. If
135-
you specifically write code for these browsers or polyfill this attributes you can
135+
you specifically write code for these browsers or polyfill these attributes you can
136136
use [module augmentation](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation) to still get those components type checked without having
137137
to use `any` or `@ts-ignore`.
138138

0 commit comments

Comments
 (0)