0

I am using PostrageSQL, sequelize with umzug for the first time with typescript and it fails to read the migrations, should I create the migration files in Javascript despite the project being in TypeScript? or is it bad practice?

I'm getting for

{context: queryInterface} '

any' type error,

I couldn't find a type for it searching the docs and when declaring it "any" just to see what happens, I get

'__awaiter' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
 error

if I change the file to JS it works but I'm not sure if it's good practice since the project is in Typescript

0 Answers0