mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Fix bug
This commit is contained in:
1 parent
cfc40da29b
commit
9718a35bba
2 files changed
+3
-3
No files matched your search
@@ -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