move stuff around until it feels right
This commit is contained in:
4
helpers/to-upper.ts
Normal file
4
helpers/to-upper.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
/** A typesafe version of toUpperCase */
|
||||
export function toUpper<S extends string>(string: S) {
|
||||
return string.toUpperCase() as Uppercase<S>
|
||||
}
|
||||
Reference in New Issue
Block a user