Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 0c5314c

Browse files
dozortsevKnisterPeter
authored andcommitted
tests
1 parent 46edf00 commit 0c5314c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/es6-class.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ declare module 'component' {
1010
export interface ComponentOptionalObjectWithShape {
1111
color?: string;
1212
fontSize?: number;
13+
"aria-label"?: string;
1314
}
1415

1516
export type ComponentRequiredUnion = ((...args: any[])=>any) | boolean;

tests/es6-class.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Component.propTypes = {
3232
//optionalObjectOf: React.PropTypes.objectOf(React.PropTypes.number),
3333
optionalObjectWithShape: React.PropTypes.shape({
3434
color: React.PropTypes.string,
35-
fontSize: React.PropTypes.number
35+
fontSize: React.PropTypes.number,
36+
'aria-label': React.PropTypes.string,
3637
}),
3738
requiredFunc: React.PropTypes.func.isRequired,
3839
requiredAny: React.PropTypes.any.isRequired,

0 commit comments

Comments
 (0)