Closed hsjobeki closed 3 months ago
instead of explicit type cast, which is more unsafe
as const
Which creates more narrow type unions for e.g the color "lightblue" | "orange" | "green" instead of "string" for the non-const expression
instead of explicit type cast, which is more unsafe
as const
Which creates more narrow type unions for e.g the color "lightblue" | "orange" | "green" instead of "string" for the non-const expression