-
| What's the difference between 
 | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
| My understanding is that  
 On the other hand,  | 
Beta Was this translation helpful? Give feedback.
-
| What's the difference between 
 | 
Beta Was this translation helpful? Give feedback.
-
| My understanding is that  
 On the other hand,  | 
Beta Was this translation helpful? Give feedback.
My understanding is that
typescript/explicit-function-return-typechecks all functions (declarations, expressions, and arrow), whereastypescript/explicit-module-boundary-typesonly deals with exports from a module.typescript/explicit-module-boundary-typescan be used to make TypeScript faster. If all module exports have explicit return types, TypeScript doesn't need to keep crawling up the module tree to infer it; with explicit typing it can instantly return it when you reference it. It applies to functions, variables, classes; anything exported from a module. With this check enabled, they must have an explicit return type.On the other hand,
typescript/explicit-function-return-typeonl…