mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 12:37:16 +08:00
Merge pull request #29094 from johhansantana/master
@types/parse add react-native typings to fix warnings.
This commit is contained in:
11
types/parse/index.d.ts
vendored
11
types/parse/index.d.ts
vendored
@@ -1169,6 +1169,12 @@ declare namespace Parse {
|
||||
*/
|
||||
function initialize(applicationId: string, javaScriptKey?: string, masterKey?: string): void;
|
||||
|
||||
/**
|
||||
* Additionally on React-Native / Expo environments, add AsyncStorage from 'react-native' package
|
||||
* @param AsyncStorage AsyncStorage from 'react-native' package
|
||||
*/
|
||||
function setAsyncStorage(AsyncStorage: any): void;
|
||||
|
||||
}
|
||||
|
||||
declare module "parse/node" {
|
||||
@@ -1179,3 +1185,8 @@ declare module "parse" {
|
||||
import * as parse from "parse/node";
|
||||
export = parse
|
||||
}
|
||||
|
||||
declare module "parse/react-native" {
|
||||
import * as parse from "parse/node";
|
||||
export = parse
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user