mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-18 12:08:59 +08:00
Merge pull request #15798 from mbalex99/master
removing dependency to react-native
This commit is contained in:
3
types/realm/react-native/index.d.ts
vendored
3
types/realm/react-native/index.d.ts
vendored
@@ -1,3 +0,0 @@
|
||||
import { ListView } from 'react-native';
|
||||
|
||||
export { ListView };
|
||||
@@ -1,5 +1,4 @@
|
||||
import * as Realm from 'realm';
|
||||
import { ListView } from 'realm/react-native';
|
||||
|
||||
// schema test
|
||||
const personSchema = {
|
||||
@@ -97,6 +96,3 @@ const users = Realm.Sync.User.all;
|
||||
|
||||
// access control test
|
||||
const managementRealm = user.openManagementRealm();
|
||||
|
||||
// ListView test
|
||||
const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2});
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"react-native/index.d.ts",
|
||||
"realm-tests.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user