How to fix Option 'declaration' cannot be used without 'emitDeclarationOnly' when 'noEmit' is set in TypeScript | DevErrors