---
title: TLStateNodeConstructor
status: published
category: editor
group: Interface
author: api
date: 06/23/2023
order: 178
---<Small>Public Interface</Small>

<details>
	<summary>Table of Contents</summary>
- [Properties](#properties)
  - [children](#TLStateNodeConstructor-children-member)
  - [id](#TLStateNodeConstructor-id-member)
  - [initial](#TLStateNodeConstructor-initial-member)
</details>




##### Signature


```ts
interface TLStateNodeConstructor {}
```

---

### `(new)` \{#TLStateNodeConstructor-new-1}

<Small>Public ConstructSignature</Small>

##### Parameters


<ParametersTable>

<ParametersTableRow>
<ParametersTableName>

`editor`

</ParametersTableName>
<ParametersTableDescription>

```ts
Editor
```



</ParametersTableDescription>
</ParametersTableRow>
<ParametersTableRow>
<ParametersTableName>

`parent`

 <Small>(optional)</Small>

</ParametersTableName>
<ParametersTableDescription>

```ts
StateNode
```



</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>

##### Returns


```ts
StateNode
```

##### References

[Editor](/gen/editor/Editor-class), [StateNode](/gen/editor/StateNode-class)

---

## Properties

### `children` \{#TLStateNodeConstructor-children-member}

<Small>Public PropertySignature</Small>

##### Signature


```ts
children?: () => TLStateNodeConstructor[]
```

##### References

[TLStateNodeConstructor](/gen/editor/TLStateNodeConstructor-interface)

---

### `id` \{#TLStateNodeConstructor-id-member}

<Small>Public PropertySignature</Small>

##### Signature


```ts
id: string
```

---

### `initial` \{#TLStateNodeConstructor-initial-member}

<Small>Public PropertySignature</Small>

##### Signature


```ts
initial?: string
```

---

