Skip to content

Commit

Permalink
Fix readme typo (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
amjed-ali-k committed Jul 19, 2022
1 parent edfba7a commit a5af64d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Expand Up @@ -839,7 +839,7 @@ There are many advanced types most users don't know about.
type T2 = Uppercase<'foo' | 'bar'>; // 'FOO' | 'BAR'

type T3<S extends string> = Uppercase<`aB${S}`>;
type T4 = T30<'xYz'>; // 'ABXYZ'
type T4 = T3<'xYz'>; // 'ABXYZ'

type T5 = Uppercase<string>; // string
type T6 = Uppercase<any>; // any
Expand All @@ -860,7 +860,7 @@ There are many advanced types most users don't know about.
type T2 = Lowercase<'FOO' | 'BAR'>; // 'foo' | 'bar'

type T3<S extends string> = Lowercase<`aB${S}`>;
type T4 = T32<'xYz'>; // 'abxyz'
type T4 = T3<'xYz'>; // 'abxyz'

type T5 = Lowercase<string>; // string
type T6 = Lowercase<any>; // any
Expand All @@ -881,7 +881,7 @@ There are many advanced types most users don't know about.
type T2 = Capitalize<'foo' | 'bar'>; // 'Foo' | 'Bar'

type T3<S extends string> = Capitalize<`aB${S}`>;
type T4 = T32<'xYz'>; // 'ABxYz'
type T4 = T3<'xYz'>; // 'ABxYz'

type T5 = Capitalize<string>; // string
type T6 = Capitalize<any>; // any
Expand All @@ -902,7 +902,7 @@ There are many advanced types most users don't know about.
type T2 = Uncapitalize<'Foo' | 'Bar'>; // 'foo' | 'bar'

type T3<S extends string> = Uncapitalize<`AB${S}`>;
type T4 = T30<'xYz'>; // 'aBxYz'
type T4 = T3<'xYz'>; // 'aBxYz'

type T5 = Uncapitalize<string>; // string
type T6 = Uncapitalize<any>; // any
Expand Down

0 comments on commit a5af64d

Please sign in to comment.