Commit b5abcb0
fix(types): correct type of Datastore.KEY (#459)
`entity.KEY_SYMBOL` is defined as a `unique symbol` and without explicit reference back to the original type, the `unique symbol` flows into a regular `symbol`, which loses some of its semantic meaning.
This guarantees that `Datastore.KEY` and `entity.KEY_SYMBOL` (and `new Datastore().KEY`) are truly equivalent within the type system.1 parent 6ec33da commit b5abcb0
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
580 | | - | |
| 579 | + | |
| 580 | + | |
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| |||
0 commit comments