unknownAliasType alias `{{alias}}` hides `unknown`. Keep `unknown` explicit at the parsing boundary or on an allowed `cause` field; otherwise use the parsed owner type.small-rules/no-unknown-type-aliasesDisallow type aliases whose resolved type is unknown; unknown must remain visible at an allowed boundary.
Ported from dmmulroy/anti-slop. Renaming
unknown hides where parsing is still required. Keep it visible at the boundary, then introduce
a real domain type after validation.
unknownAliasType alias `{{alias}}` hides `unknown`. Keep `unknown` explicit at the parsing boundary or on an allowed `cause` field; otherwise use the parsed owner type.This rule does not accept options.
type ExternalValue = unknown;type User = { readonly id: string };