diff --git a/types/expo/expo-tests.tsx b/types/expo/expo-tests.tsx index d170c9fb2d..333b9d3e3c 100644 --- a/types/expo/expo-tests.tsx +++ b/types/expo/expo-tests.tsx @@ -1,3 +1,5 @@ +import * as React from 'react'; + import { Accelerometer, Amplitude, diff --git a/types/expo/index.d.ts b/types/expo/index.d.ts index 4e808c348a..04d500ab6b 100644 --- a/types/expo/index.d.ts +++ b/types/expo/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/expo/expo-sdk // Definitions by: Konstantin Kai // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.4 import { EventSubscription } from 'fbemitter'; import { Component, Ref } from 'react'; @@ -1346,7 +1347,7 @@ export namespace SQLite { interface Transaction { executeSql( sqlStatement: string, - arguments?: string[] | number[], // TypeScript Version: 2.4 + arguments?: string[] | number[], success?: (transaction: Transaction, resultSet: ResultSet) => any, error?: (transaction: Transaction, error: Error) => any ): void; diff --git a/types/expo/tsconfig.json b/types/expo/tsconfig.json index 04edeb26ab..5d0f560837 100644 --- a/types/expo/tsconfig.json +++ b/types/expo/tsconfig.json @@ -4,7 +4,7 @@ "lib": [ "es6" ], - "jsx": "react-native", + "jsx": "react", "noImplicitAny": true, "noImplicitThis": true, "strictNullChecks": true,