File tree Expand file tree Collapse file tree
src/permutation/modifiers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " deepcover" ,
3- "version" : " 0.1.0-alpha.5 " ,
3+ "version" : " 0.1.0-alpha.6 " ,
44 "description" : " " ,
55 "type" : " module" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 11import type {
22 PermutationGenerator ,
3+ UnwrapPermutation ,
34 UnwrapPermutationGenerator ,
45} from '#src/permutation/definitions' ;
56import { merge } from '#src/permutation/utils' ;
7+ import type { CastAsPermutationGenerator } from '#src/utils/casting' ;
8+
9+ type UnwrapValue < T > = UnwrapPermutation < UnwrapPermutationGenerator < CastAsPermutationGenerator < T > > > ;
610
711export type OptionalGenerator < out T extends PermutationGenerator = PermutationGenerator > =
8- ( ) => Iterable < UnwrapPermutationGenerator < T > > ;
12+ ( ) => Iterable < UnwrapValue < T > > ;
913
1014export type OptionalPatch < T extends PermutationGenerator = PermutationGenerator > = {
1115 readonly size : T [ 'size' ] ;
You can’t perform that action at this time.
0 commit comments