From a2a36cda65e52ff0c4250813297eab18bef1e491 Mon Sep 17 00:00:00 2001 From: Maximilian Alexander Date: Tue, 11 Apr 2017 17:10:23 -0700 Subject: [PATCH] removing dependency to react-native --- types/realm/react-native/index.d.ts | 3 --- types/realm/realm-tests.ts | 4 ---- types/realm/tsconfig.json | 1 - 3 files changed, 8 deletions(-) delete mode 100644 types/realm/react-native/index.d.ts diff --git a/types/realm/react-native/index.d.ts b/types/realm/react-native/index.d.ts deleted file mode 100644 index 0563ca5914..0000000000 --- a/types/realm/react-native/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { ListView } from 'react-native'; - -export { ListView }; diff --git a/types/realm/realm-tests.ts b/types/realm/realm-tests.ts index d8a0d98c4a..5f171a3287 100644 --- a/types/realm/realm-tests.ts +++ b/types/realm/realm-tests.ts @@ -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}); diff --git a/types/realm/tsconfig.json b/types/realm/tsconfig.json index ae6e53ac64..583e188e67 100644 --- a/types/realm/tsconfig.json +++ b/types/realm/tsconfig.json @@ -18,7 +18,6 @@ }, "files": [ "index.d.ts", - "react-native/index.d.ts", "realm-tests.ts" ] } \ No newline at end of file