Deprecate OpaqueToPointers
for now
https://github.com/theatre-js/theatre/pull/118#discussion_r846628039
This commit is contained in:
parent
c9959b9541
commit
bd8999f0f2
2 changed files with 1 additions and 6 deletions
|
@ -17,6 +17,6 @@ export {default as iterateAndCountTicks} from './derivations/iterateAndCountTick
|
|||
export {default as iterateOver} from './derivations/iterateOver'
|
||||
export {default as prism} from './derivations/prism/prism'
|
||||
export {default as pointer, getPointerParts, isPointer} from './pointer'
|
||||
export type {Pointer, PointerType, OpaqueToPointers} from './pointer'
|
||||
export type {Pointer, PointerType} from './pointer'
|
||||
export {default as Ticker} from './Ticker'
|
||||
export {default as PointerProxy} from './PointerProxy'
|
||||
|
|
|
@ -7,10 +7,6 @@ type PointerMeta = {
|
|||
path: (string | number)[]
|
||||
}
|
||||
|
||||
const symbolForUnpointableTypes = Symbol()
|
||||
|
||||
export type OpaqueToPointers = {[symbolForUnpointableTypes]: true}
|
||||
|
||||
export type UnindexableTypesForPointer =
|
||||
| number
|
||||
| string
|
||||
|
@ -19,7 +15,6 @@ export type UnindexableTypesForPointer =
|
|||
| void
|
||||
| undefined
|
||||
| Function // eslint-disable-line @typescript-eslint/ban-types
|
||||
| OpaqueToPointers
|
||||
|
||||
export type UnindexablePointer = {
|
||||
[K in $IntentionalAny]: Pointer<undefined>
|
||||
|
|
Loading…
Reference in a new issue