Merge pull request #7704 from plantain-00/master

update module
This commit is contained in:
Masahiro Wakame
2016-01-24 00:42:11 +09:00
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ For a list of complete Typescript examples: check https://github.com/bgrieder/RN
///<reference path="../react-native/react-native.d.ts" />
import React from 'react-native'
import * as React from 'react-native'
const { StyleSheet, Text, View } = React
var styles = StyleSheet.create(

View File

@@ -3459,7 +3459,7 @@ declare namespace __React {
declare module "react-native" {
import ReactNative = __React
export default ReactNative
export = ReactNative
}
declare var global: __React.GlobalStatic
@@ -3469,7 +3469,7 @@ declare function require( name: string ): any
//TODO: BGR: this is a left-over from the initial port. Not sure it makes any sense
declare module "Dimensions" {
import React from 'react-native';
import * as React from 'react-native';
interface Dimensions {
get( what: string ): React.ScaledSize;