You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a ts project that is very simple.
However, running yarn dlx tshy results in a bunch of
src/user/notification.ts:2:40 - error TS2834: Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.
2 import { NotificationTypeConfig } from './dto/notifications'
~~~~~~~~~~~~~~~~~~~~~
src/user/user.ts:1:40 - error TS2307: Cannot find module '../response.dto' or its corresponding type declarations.
1 import { ICommonSuccessResponse } from '../response.dto'
~~~~~~~~~~~~~~~~~
I have a ts project that is very simple.
However, running
yarn dlx tshy
results in a bunch ofand then prints
Our initial setup was based on: https://thesametech.com/how-to-build-typescript-project/ and it works fine.
I also tried tsup and it worked without any problem.
package.json
tsconfig.json
The text was updated successfully, but these errors were encountered: