1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-02 19:52:32 +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

@@ -37,7 +37,7 @@ Points are slightly more specific than paths, and contain an `offset` into a spe
interface Point {
path: Path
offset: number
[key: string]: unknown
[key: string]: any
}
```
@@ -71,7 +71,7 @@ Ranges are a way to refer not just to a single point in the document, but to a w
interface Range {
anchor: Point
focus: Point
[key: string]: unknown
[key: string]: any
}
```