mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
[expo] fixes for tests
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import * as React from 'react';
|
||||
|
||||
import {
|
||||
Accelerometer,
|
||||
Amplitude,
|
||||
|
||||
Vendored
+2
-1
@@ -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;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"jsx": "react-native",
|
||||
"jsx": "react",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
|
||||
Reference in New Issue
Block a user