Slack context: https://expensify.slack.com/archives/C01GTK53T8Q/p1701371123201489
Problem
We are inconsistent about how we import types. Type-only imports are preferred because they disappear at runtime, making the program more lightweight. It also improves code clarity because it's obvious that a type is being imported and not some other value.
Solution
Enable the consistent-type-imports lint rule w/ prefer: type-imports
Issue Owner
Current Issue Owner: @chrispader
Slack context: https://expensify.slack.com/archives/C01GTK53T8Q/p1701371123201489
Problem
We are inconsistent about how we import types. Type-only imports are preferred because they disappear at runtime, making the program more lightweight. It also improves code clarity because it's obvious that a type is being imported and not some other value.
Solution
Enable the consistent-type-imports lint rule w/
prefer: type-importsIssue Owner
Current Issue Owner: @chrispader