Documentation
Preparing search index...
createBaseNode
Function createBaseNode
createBaseNode
<
Type
extends
null
|
string
,
Attributes
extends
TwingBaseNodeAttributes
,
Children
extends
TwingBaseNodeChildren
,
>
(
type
:
Type
,
attributes
?:
Attributes
,
children
?:
Children
,
line
?:
number
,
column
?:
number
,
tag
?:
null
|
string
,
)
:
TwingBaseNode
<
Type
,
Attributes
,
Children
>
Type Parameters
Type
extends
null
|
string
Attributes
extends
TwingBaseNodeAttributes
Children
extends
TwingBaseNodeChildren
Parameters
type
:
Type
attributes
:
Attributes
= ...
children
:
Children
= ...
line
:
number
= 0
column
:
number
= 0
tag
:
null
|
string
= null
Returns
TwingBaseNode
<
Type
,
Attributes
,
Children
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...