Treats literal types, e.g. literal strings or literal numbers, as primitives for the purposes of this rule. Properties whose type are a literal type, or are union types containing literal types, no longer trigger the need for @Type decorator.
Includes a couple of test cases that used to fail.
Fixes #185.
Treats literal types, e.g. literal strings or literal numbers, as primitives for the purposes of this rule. Properties whose type are a literal type, or are union types containing literal types, no longer trigger the need for
@Type
decorator.Includes a couple of test cases that used to fail.