From 9718a35bba88f7b34627a9f41a1794c342f039cd Mon Sep 17 00:00:00 2001 From: tkqubo Date: Tue, 15 Sep 2015 05:48:18 +0900 Subject: [PATCH] Fix bug --- react-props-decorators/react-props-decorators-tests.ts | 4 ++-- react-props-decorators/react-props-decorators.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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