A TypeScript team lead is establishing a Definition of Done for pull requests. Which TypeScript-specific criterion is most critical to include?
-
A
No new TypeScript errors and no new 'any' usages without justification
-
B
All functions must use explicit return type annotations
-
C
No use of generics without constraints
-
D
All types must be defined in a separate .d.ts file