[expo] fixes for tests

This commit is contained in:
KonstantinKai
2017-11-21 16:18:46 +02:00
parent 2f19225621
commit e39b73235a
3 changed files with 5 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
import * as React from 'react';
import {
Accelerometer,
Amplitude,
+2 -1
View File
@@ -2,6 +2,7 @@
// Project: https://github.com/expo/expo-sdk
// Definitions by: Konstantin Kai <https://github.com/KonstantinKai>
// 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;
+1 -1
View File
@@ -4,7 +4,7 @@
"lib": [
"es6"
],
"jsx": "react-native",
"jsx": "react",
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,