bmihelac / ra-data-django-rest-framework

react-admin data provider for Django REST framework
MIT License
100 stars 28 forks source link

TS2305: Module '"ra-core"' has no exported member 'Pagination'. #72

Open neps-in opened 1 year ago

neps-in commented 1 year ago

I am getting this error all of a sudden

ERROR in src/ra-data-django-rest-framework/src/index.ts:4:3
TS2305: Module '"ra-core"' has no exported member 'Pagination'.
    2 | import {
    3 |   Identifier,
  > 4 |   Pagination,
      |   ^^^^^^^^^^
    5 |   Sort,
    6 |   Filter,
    7 |   fetchUtils,

ERROR in src/ra-data-django-rest-framework/src/index.ts:5:3
TS2305: Module '"ra-core"' has no exported member 'Sort'.
    3 |   Identifier,
    4 |   Pagination,
  > 5 |   Sort,
      |   ^^^^
    6 |   Filter,
    7 |   fetchUtils,
    8 |   DataProvider,

ERROR in src/ra-data-django-rest-framework/src/index.ts:6:3
TS2305: Module '"ra-core"' has no exported member 'Filter'.
    4 |   Pagination,
    5 |   Sort,
  > 6 |   Filter,
      |   ^^^^^^
    7 |   fetchUtils,
    8 |   DataProvider,
    9 | } from 'ra-core';

ERROR in src/RaDataDRFDataProvider.ts:4:3
TS2305: Module '"ra-core"' has no exported member 'Pagination'.
    2 | import {
    3 |   Identifier,
  > 4 |   Pagination,
      |   ^^^^^^^^^^
    5 |   Sort,
    6 |   Filter,
    7 |   fetchUtils,

ERROR in src/RaDataDRFDataProvider.ts:5:3
TS2305: Module '"ra-core"' has no exported member 'Sort'.
    3 |   Identifier,
    4 |   Pagination,
  > 5 |   Sort,
      |   ^^^^
    6 |   Filter,
    7 |   fetchUtils,
    8 |   DataProvider,

ERROR in src/RaDataDRFDataProvider.ts:6:3
TS2305: Module '"ra-core"' has no exported member 'Filter'.
    4 |   Pagination,
    5 |   Sort,
  > 6 |   Filter,
      |   ^^^^^^
    7 |   fetchUtils,
    8 |   DataProvider,
    9 | } from 'ra-core';

Whats the fix ?