Documentation - v0.27.3
Preparing search index...
@mtcute/tl-utils
index
mergeTlSchemas
Function mergeTlSchemas
mergeTlSchemas
(
schemas
:
TlFullSchema
[]
,
onConflict
:
(
options
:
(
TlEntry
|
undefined
)
[]
,
reason
:
string
,
)
=>
TlEntry
|
Promise
<
TlEntry
|
undefined
>
|
undefined
,
)
:
Promise
<
TlFullSchema
>
Merge multiple TL schemas into a single schema.
Parameters
schemas
:
TlFullSchema
[]
Schemas to merge
onConflict
:
(
options
:
(
TlEntry
|
undefined
)
[]
,
reason
:
string
,
)
=>
TlEntry
|
Promise
<
TlEntry
|
undefined
>
|
undefined
Callback to handle conflicts
Returns
Promise
<
TlFullSchema
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation - v0.27.3
Loading...
Merge multiple TL schemas into a single schema.