this is terrible advise - you should be using unknown
. using any
you’re basically disabling TS and will be under the false assumption that your code is ok while it’s most likely missing a lot of runtime checks
using any
is actually much worse than using TS, because you’re basically telling the compiler “don’t help me here”… at least with JS the IDE is gonna help you… :/
this, and also nothing is 100% new - knowledge in similar areas will always help
I already have to live with my choices in real life, let me play the damn game (╯°□°)╯︵ ┻━┻)
depends what you mean by application code… I’d say if your business logic is exclusively used by a ui feature the best is to keep them together. but you probably want to abstract away things like data access. I found working with a nx monorepo helps reasoning about how to structure your code.
lol