Open KonradLinkowski opened 3 months ago
Why does lowerCase's type signature looks like that:
lowerCase
function lowerCase(str: string): string;
When capitalize's looks like this:
capitalize
function capitalize<T extends string>(str: T): Capitalize<T>;
Shouldn't it be:
function lowerCase<T extends string>(str: T): Lowercase<T>;
?
I guess we should match capitalize if possible.
Why does
lowerCase
's type signature looks like that:When
capitalize
's looks like this:Shouldn't it be:
?