ts-reset icon indicating copy to clipboard operation
ts-reset copied to clipboard

Add string-case types

Open KajSzy opened this issue 2 years ago • 0 comments

This solves #16

type Union = "a" | "b" | "c";

const foo: Union = "a";

const fooUpperCased: Uppercase<Union> = foo.toUpperCase(); // should be 'A' | 'B' | 'C'

KajSzy avatar Feb 21 '23 04:02 KajSzy