TypeScript originally used the module keyword to declare internal modules (namespaces).
The namespace keyword was later introduced to avoid confusion with ES6 modules.
Using namespace makes it clear you are defining a TypeScript namespace, not an ES6 module.
If you are working in a codebase that consistently uses module, and migrating to namespace is blocked on tooling issues or finding the time to do it, you may not want this rule.