Skip to content

Commit

Permalink
Update src/composable/composable.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Guga Guichard <gustavoguichard@gmail.com>
  • Loading branch information
diogob and gustavoguichard committed Jan 8, 2024
1 parent efbcf58 commit f59eddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composable/composable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function sequence<T extends [Composable, ...Composable[]]>(
* @example
* import { composable as C } from 'domain-functions'
*
* const a = C.composable((something: unknown) => String(something))
* const a = C.composable((something: unknown) => Number(something))
* const b = C.composable((aString: string) => aString === '1')
* const cf = C.sequenceAll(a, b)
* // ^? Composable<(aString: string) => [string, boolean]>
Expand Down

0 comments on commit f59eddc

Please sign in to comment.