Skip to content

Commit

Permalink
add credits
Browse files Browse the repository at this point in the history
Co-authored-by: gugaguichard <[email protected]>
  • Loading branch information
rawpixel-vincent and gustavoguichard committed Mar 5, 2024
1 parent 2f3aec1 commit 993febc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { ArrayInPlaceMutation } from './StringLiteralList.js';

export namespace sl {
export namespace utils {
/**
* @credit @gustavoguichard
*/
type IsStringLiteral<T extends string> = [T] extends [string] ? [string] extends [T] ? false : Uppercase<T> extends Uppercase<Lowercase<T>> ? Lowercase<T> extends Lowercase<Uppercase<T>> ? true : false : false : false;

export type StringConcat<
Expand Down

0 comments on commit 993febc

Please sign in to comment.