mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Renaming the legacy module for tests
Apparently they conflict otherwise which is unfortunate.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/// <reference path="react-addons-0.11.d.ts" />
|
||||
import React = require("react/addons");
|
||||
import React = require("react/addons-0.11");
|
||||
|
||||
var PropTypesSpecification: React.Specification<any, any> = {
|
||||
propTypes: {
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
/// <reference path="../../react/legacy/react-0.11.d.ts" />
|
||||
|
||||
declare module "react/addons" {
|
||||
declare module "react/addons-0.11" {
|
||||
export = React;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user