1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-03 04:02:33 +02:00

Revert "TypeScript Improvement: Use [key: string]: unknown, not [key: string]: any (#3565)"

This reverts commit d8adf51add.
This commit is contained in:
CameronAckermanSEL
2020-05-04 17:33:39 -07:00
parent d8adf51add
commit 81d2f9bb8f
17 changed files with 38 additions and 42 deletions

View File

@@ -55,7 +55,7 @@ Elements make up the middle layers of a richtext document. They are the nodes th
```ts
interface Element {
children: Node[]
[key: string]: unknown
[key: string]: any
}
```
@@ -126,7 +126,7 @@ Text nodes are the lowest-level nodes in the tree, containing the text content o
```ts
interface Text {
text: string
[key: string]: unknown
[key: string]: any
}
```