Skip to content

Commit

Permalink
Fix React extern type problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Deraen committed Nov 9, 2017
1 parent f729cfd commit f12b0f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion react/build.boot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(require '[cljsjs.boot-cljsjs.packaging :refer :all])

(def +lib-version+ "16.1.0")
(def +version+ (str +lib-version+ "-0"))
(def +version+ (str +lib-version+ "-1"))

(def npm-project {'cljsjs/react "react"
'cljsjs/react-dom "react-dom"
Expand Down
3 changes: 2 additions & 1 deletion react/resources/cljsjs/react/common/react.ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ React.cloneElement = function(element, props) {};
React.ReactElement = function() {};

/**
* @interface
* @constructor
*/
React.Component = function() {};

Expand Down Expand Up @@ -214,6 +214,7 @@ React.Component.prototype.render = function() {};

/**
* @extends {React.Component}
* @constructor
*/
React.PureComponent = function() {};

Expand Down
3 changes: 2 additions & 1 deletion react_15/resources/cljsjs/react/common/react.ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ React.cloneElement = function(element, props) {};
React.ReactElement = function() {};

/**
* @interface
* @constructor
*/
React.Component = function() {};

Expand Down Expand Up @@ -214,6 +214,7 @@ React.Component.prototype.render = function() {};

/**
* @extends {React.Component}
* @constructor
*/
React.PureComponent = function() {};

Expand Down

0 comments on commit f12b0f2

Please sign in to comment.