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