Preparing search index...
The search index is not available
Reference - BaklavaJS
Reference - BaklavaJS
@baklavajs/interface-types
BaklavaInterfaceTypes
Class BaklavaInterfaceTypes
Index
Constructors
constructor
Methods
add
Types
can
Convert
convert
get
Conversion
Constructors
constructor
new
Baklava
Interface
Types
(
editor
,
options
?
)
:
BaklavaInterfaceTypes
Parameters
editor
:
Editor
Optional
options
:
BaklavaInterfaceTypesOptions
Returns
BaklavaInterfaceTypes
Methods
add
Types
add
Types
(
...
types
)
:
this
Add a new node interface type
Parameters
Rest
...
types
:
NodeInterfaceType
<
unknown
>
[]
The types to add
Returns
this
can
Convert
can
Convert
(
from
,
to
)
:
boolean
Parameters
from
:
string
to
:
string
Returns
boolean
convert
convert
<
I
,
O
>
(
from
,
to
,
value
)
:
O
Type Parameters
I
=
any
O
=
any
Parameters
from
:
string
to
:
string
value
:
I
Returns
O
get
Conversion
get
Conversion
<
I
,
O
>
(
from
,
to
)
:
null
|
IConversion
<
I
,
O
>
Type Parameters
I
=
any
O
=
any
Parameters
from
:
string
to
:
string
Returns
null
|
IConversion
<
I
,
O
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Types
can
Convert
convert
get
Conversion
Reference - BaklavaJS
Loading...
Add a new node interface type