This commit is contained in:
tkqubo
2015-09-15 05:49:06 +09:00
parent cfc40da29b
commit 9718a35bba
2 changed files with 3 additions and 3 deletions
@@ -1,7 +1,7 @@
/// <reference path="react-props-decorators.d.ts" />
/// <reference path="../react/react.d.ts" />
import React from 'react';
import * as React from 'react';
import { propTypes, defaultProps } from 'react-props-decorators';
@propTypes({
@@ -12,6 +12,6 @@ import { propTypes, defaultProps } from 'react-props-decorators';
foo: "defaultString",
bar: 100
})
class Baz extends React.Component {
class Baz extends React.Component<any, any> {
/* ... */
}
+1 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for react-props-decorators
// Type definitions for react-props-decorators 0.1.0
// Project: https://github.com/popkirby/react-props-decorators
// Definitions by: Qubo <https://github.com/tkqubo>
// Definitions: https://github.com/borisyankov/DefinitelyTyped