diff --git a/react-props-decorators/react-props-decorators-tests.ts b/react-props-decorators/react-props-decorators-tests.ts index 6ba9b7cef..33691834c 100644 --- a/react-props-decorators/react-props-decorators-tests.ts +++ b/react-props-decorators/react-props-decorators-tests.ts @@ -1,7 +1,7 @@ /// /// -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 { /* ... */ } diff --git a/react-props-decorators/react-props-decorators.d.ts b/react-props-decorators/react-props-decorators.d.ts index 98edc9884..9b62d84f9 100644 --- a/react-props-decorators/react-props-decorators.d.ts +++ b/react-props-decorators/react-props-decorators.d.ts @@ -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 // Definitions: https://github.com/borisyankov/DefinitelyTyped