зеркало из https://github.com/microsoft/reactxp.git
Fixing regression with animated type exports. Strongly-typed the animated export checks as well to prevent similar regressions in the future.
This commit is contained in:
Родитель
fdccce2c42
Коммит
007feb1d90
|
@ -125,7 +125,7 @@ module ReactXP {
|
|||
export type WebView = RXInterfaces.WebView;
|
||||
export var WebView: RXInterfaces.WebViewConstructor = WebViewImpl;
|
||||
|
||||
export import Animated = AnimatedImpl;
|
||||
export import Animated = AnimatedImpl.Animated;
|
||||
export import CommonProps = RXTypes.CommonProps;
|
||||
export import CommonStyledProps = RXTypes.CommonStyledProps;
|
||||
export import Types = RXTypes;
|
||||
|
|
|
@ -15,10 +15,7 @@ import RXTypes = require('../common/Types');
|
|||
|
||||
export declare module ReactXP {
|
||||
export type Accessibility = Interfaces.Accessibility;
|
||||
export var Accessibility: Interfaces.Accessibility;
|
||||
|
||||
export import Animated = Interfaces.Animated;
|
||||
|
||||
export var Accessibility: Interfaces.Accessibility;
|
||||
export type ActivityIndicator = Interfaces.ActivityIndicator;
|
||||
export var ActivityIndicator: typeof Interfaces.ActivityIndicator;
|
||||
export type Alert = Interfaces.Alert;
|
||||
|
@ -74,6 +71,9 @@ export declare module ReactXP {
|
|||
export type WebView = Interfaces.WebView;
|
||||
export var WebView: Interfaces.WebViewConstructor;
|
||||
|
||||
export type Animated = Interfaces.Animated;
|
||||
export var Animated: Interfaces.Animated;
|
||||
|
||||
export import CommonProps = RXTypes.CommonProps;
|
||||
export import CommonStyledProps = RXTypes.CommonStyledProps;
|
||||
export import Types = RXTypes;
|
||||
|
|
|
@ -124,7 +124,7 @@ module ReactXP {
|
|||
export type WebView = RXInterfaces.WebView;
|
||||
export var WebView: RXInterfaces.WebViewConstructor = WebViewImpl;
|
||||
|
||||
export import Animated = AnimatedImpl;
|
||||
export import Animated = AnimatedImpl.Animated;
|
||||
export import CommonProps = RXTypes.CommonProps;
|
||||
export import CommonStyledProps = RXTypes.CommonStyledProps;
|
||||
export import Types = RXTypes;
|
||||
|
|
|
@ -124,7 +124,7 @@ module ReactXP {
|
|||
export type WebView = RXInterfaces.WebView;
|
||||
export var WebView: RXInterfaces.WebViewConstructor = WebViewImpl;
|
||||
|
||||
export import Animated = AnimatedImpl;
|
||||
export import Animated = AnimatedImpl.Animated;
|
||||
export import CommonProps = RXTypes.CommonProps;
|
||||
export import CommonStyledProps = RXTypes.CommonStyledProps;
|
||||
export import Types = RXTypes;
|
||||
|
|
|
@ -124,7 +124,7 @@ module ReactXP {
|
|||
export type WebView = RXInterfaces.WebView;
|
||||
export var WebView: RXInterfaces.WebViewConstructor = WebViewImpl;
|
||||
|
||||
export import Animated = AnimatedImpl;
|
||||
export import Animated = AnimatedImpl.Animated;
|
||||
export import CommonProps = RXTypes.CommonProps;
|
||||
export import CommonStyledProps = RXTypes.CommonStyledProps;
|
||||
export import Types = RXTypes;
|
||||
|
@ -139,7 +139,8 @@ module ReactXP {
|
|||
// See web/ReactXP.tsx for more details.
|
||||
|
||||
var _rxImplementsRxInterface: typeof RXModuleInterface.ReactXP = ReactXP;
|
||||
export = _rxImplementsRxInterface;
|
||||
_rxImplementsRxInterface = _rxImplementsRxInterface;
|
||||
export = ReactXP;
|
||||
|
||||
/*
|
||||
var rx = module.exports;
|
||||
|
|
Загрузка…
Ссылка в новой задаче