sad-indigoS
Refine2y ago
8 replies
sad-indigo

why this errors

why this errors
src/App.tsx:1:10 - error TS2305: Module '"@refinedev/core"' has no exported member 'Authenticated'.

1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";
           ~~~~~~~~~~~~~

src/App.tsx:1:25 - error TS2305: Module '"@refinedev/core"' has no exported member 'GitHubBanner'.

1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";
                          ~~~~~~~~~~~~

src/App.tsx:1:39 - error TS2305: Module '"@refinedev/core"' has no exported member 'Refine'.

1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";
                                        ~~~~~~

src/App.tsx:6:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'ErrorComponent'.

6   ErrorComponent,
    ~~~~~~~~~~~~~~

src/App.tsx:7:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'ThemedLayoutV2'.

7   ThemedLayoutV2,
    ~~~~~~~~~~~~~~

src/App.tsx:8:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'ThemedSiderV2'.

8   ThemedSiderV2,
    ~~~~~~~~~~~~~

src/App.tsx:9:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'useNotificationProvider'.

9   useNotificationProvider,
    ~~~~~~~~~~~~~~~~~~~~~~~

src/App.tsx:92:35 - error TS7006: Parameter 'props' implicitly has an 'any' type.

92                           Sider={(props) => <ThemedSiderV2 {...props} fixed />}
                                     ~~~~~

src/authProvider.ts:6:19 - error TS7031: Binding element 'username' implicitly has an 'any' type.

6   login: async ({ username, email, password }) => {
                    ~~~~~~~~

src/authProvider.ts:6:29 - error TS7031: Binding element 'email' implicitly has an 'any' type.

6   login: async ({ username, email, password }) => {
Was this page helpful?