mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix bug
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user