JavaScript

JavaScript

Made by DeepSource

Prefer a consistent naming pattern for type aliases JS-0509

Anti-pattern
Minor

'^([A-Z][a-z0-9]*)+Type$$' is the default pattern for type alias names.

Bad Practice

type foo = {};

Recommended

type FooType = {};