Skip to content

Commit

Permalink
$mol_view_tree2_to_dts any in arrays with map
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Oct 19, 2023
1 parent c84f5e3 commit e29d3ed
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion view/tree2/to/dts/dts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ namespace $ {

if( input.type[0] === '/' ) return [
input.data('readonly '),
input.data( input.type.slice(1) || 'any' ),
input.type.trim().length > 1 ? input.data( input.type.slice(1) ) : input.data('any'),
input.data('[]'),
]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare namespace $ {

type $mol_object__expanded_4S11TBZN = $mol_type_enforce<
type $mol_object__expanded_9OBYE6AG = $mol_type_enforce<
ReturnType< Foo["owner"] >,
ReturnType< $mol_object["expanded"] >
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare namespace $ {

type $mol_object__rows_UM3R0F4Z = $mol_type_enforce<
type $mol_object__rows_R68J75XJ = $mol_type_enforce<
ReturnType< Foo["content"] >,
ReturnType< $mol_object["rows"] >
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare namespace $ {

type $mol_object__localized_TU0F9DBD = $mol_type_enforce<
type $mol_object__localized_XB1UI9TS = $mol_type_enforce<
ReturnType< Foo["some"] >,
ReturnType< $mol_object["localized"] >
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare namespace $ {

type $mol_object__rows_FH910Z2K = $mol_type_enforce<
type $mol_object__rows_0PZB7IMT = $mol_type_enforce<
ReturnType< Foo["content"] >,
ReturnType< $mol_object["rows"] >
>
Expand Down
2 changes: 1 addition & 1 deletion view/tree2/to/dts/test/right_bind_in_left_bind.test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare namespace $ {
a( ): any
}

type Foo__a_Q3RZHY1O = $mol_type_enforce<
type Foo__a_EURM0I7U = $mol_type_enforce<
ReturnType< Bar["b"] >,
ReturnType< Foo["a"] >
>
Expand Down
2 changes: 1 addition & 1 deletion view/tree2/to/dts/test/right_bind_indexed.test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ declare namespace $ {
})
}

type Foo__a_CYG8DUCQ = $mol_type_enforce<
type Foo__a_YR1ZROQX = $mol_type_enforce<
ReturnType< Bar["b"] >,
ReturnType< Foo["a"] >
>
Expand Down
2 changes: 1 addition & 1 deletion view/tree2/to/dts/test/right_bind_read_only.test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare namespace $ {
a( id: any, next?: any ): any
}

type Foo__a_5T0VNSS1 = $mol_type_enforce<
type Foo__a_SJ1R2SRB = $mol_type_enforce<
ReturnType< Bar["b"] >,
ReturnType< Foo["a"] >
>
Expand Down
6 changes: 3 additions & 3 deletions view/tree2/to/dts/test/simple_factory_props.test.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
declare namespace $ {

type $mol_object__some_I46F6Q4E = $mol_type_enforce<
type $mol_object__some_MEU8ZDON = $mol_type_enforce<
boolean,
ReturnType< $mol_object["some"] >
>
type $mol_object__loc_6BTVTBWV = $mol_type_enforce<
type $mol_object__loc_QAO95716 = $mol_type_enforce<
string,
ReturnType< $mol_object["loc"] >
>
type $mol_object__sub_9823RHYT = $mol_type_enforce<
type $mol_object__sub_E04KCN5P = $mol_type_enforce<
readonly any[],
ReturnType< $mol_object["sub"] >
>
Expand Down

0 comments on commit e29d3ed

Please sign in to comment.