#TS Imports

7 messages · Page 1 of 1 (latest)

crystal fable
#
.
└── MyFolder/
    └── src/
        ├── componenets/
        │   ├── moduleContainer/
        │   │   ├── ModuleContainer.tsx (THIS IS WHERE IM TRYNA IMPORT hooks.ts)
        │   │   └── ModuleContainer.css
        │   └── topBar/
        │       ├── TopBar.tsx
        │       └── TopBar.css
        ├── redux/
        │   ├── hooks.ts (THIS IS WHTA IM TRYING TO IMPORT)
        │   └── store.ts
        ├── App.tsx
        ├── App.css
        ├── index.css
        └── main.tsx
#

i just dk how to import basically lol

#

i tried import { useAppSelector } from '../redux/hooks.ts' but it just says 'cannot find module or its corresponding type declarations'

jovial echo
crystal fable
#

tysm

#

im not rlly great with imports or paths and whatnot

jovial echo