mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 08:58:23 +08:00
Allow defaultValue to be number, since that's valid for some properties
This commit is contained in:
2
react-mdl/index.d.ts
vendored
2
react-mdl/index.d.ts
vendored
@@ -28,7 +28,7 @@ declare namespace __ReactMDL {
|
||||
interface MDLHTMLAttributes {
|
||||
// React-specific Attributes
|
||||
defaultChecked?: boolean;
|
||||
defaultValue?: string | string[];
|
||||
defaultValue?: number | string | string[];
|
||||
|
||||
// Standard HTML Attributes
|
||||
accept?: string;
|
||||
|
||||
Reference in New Issue
Block a user