mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
replace internal module to namespace
This commit is contained in:
6
react/react-0.13.3.d.ts
vendored
6
react/react-0.13.3.d.ts
vendored
@@ -1735,7 +1735,7 @@ declare module "react/addons" {
|
||||
totalTime: number;
|
||||
}
|
||||
|
||||
module ReactPerf {
|
||||
namespace ReactPerf {
|
||||
export function start(): void;
|
||||
export function stop(): void;
|
||||
export function printInclusive(measurements: Measurements[]): void;
|
||||
@@ -1753,7 +1753,7 @@ declare module "react/addons" {
|
||||
new(): any;
|
||||
}
|
||||
|
||||
module ReactTestUtils {
|
||||
namespace ReactTestUtils {
|
||||
export import Simulate = ReactSimulate;
|
||||
|
||||
export function renderIntoDocument<P>(
|
||||
@@ -1847,7 +1847,7 @@ declare module "react/addons" {
|
||||
(component: Component<any, any>, eventData?: SyntheticEventData): void;
|
||||
}
|
||||
|
||||
module ReactSimulate {
|
||||
namespace ReactSimulate {
|
||||
export var blur: EventSimulator;
|
||||
export var change: EventSimulator;
|
||||
export var click: EventSimulator;
|
||||
|
||||
6
react/react-global-0.13.3.d.ts
vendored
6
react/react-global-0.13.3.d.ts
vendored
@@ -128,7 +128,7 @@ declare namespace __React {
|
||||
totalTime: number;
|
||||
}
|
||||
|
||||
module ReactPerf {
|
||||
namespace ReactPerf {
|
||||
export function start(): void;
|
||||
export function stop(): void;
|
||||
export function printInclusive(measurements: Measurements[]): void;
|
||||
@@ -146,7 +146,7 @@ declare namespace __React {
|
||||
new(): any;
|
||||
}
|
||||
|
||||
module ReactTestUtils {
|
||||
namespace ReactTestUtils {
|
||||
export import Simulate = ReactSimulate;
|
||||
|
||||
export function renderIntoDocument<P>(
|
||||
@@ -240,7 +240,7 @@ declare namespace __React {
|
||||
(component: Component<any, any>, eventData?: SyntheticEventData): void;
|
||||
}
|
||||
|
||||
module ReactSimulate {
|
||||
namespace ReactSimulate {
|
||||
export var blur: EventSimulator;
|
||||
export var change: EventSimulator;
|
||||
export var click: EventSimulator;
|
||||
|
||||
Reference in New Issue
Block a user