tools: enable type checking within the internal/modules directory
#56500
+12
−0
internal/modules directory
#56500