Skip to content

Commit 818299a

Browse files
committed
fixup! docs: add missing standards for building components
1 parent 5559dff commit 818299a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CODING_STANDARDS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,8 @@ changed, you can do so in [scripts/check-mdc-tests-config.ts](https://github.com
265265
Remember to leave a comment explaining why the change was necessary.
266266

267267
#### Coercion
268-
When defining public properties, use our coercion API to coerce `@Input`s into specific types.
268+
When defining public properties that are booleans or numbers, use our coercion API to coerce
269+
`@Input`s into specific types.
269270
For example:
270271
```ts
271272
@Input() disabled: boolean;

0 commit comments

Comments
 (0)