@milkdown/ctx
Advanced tools
Comparing version 7.3.5 to 7.3.6
@@ -5,6 +5,6 @@ import type { Slice, SliceType } from './slice'; | ||
sliceMap: SliceMap; | ||
get: <T, N extends string = string>(slice: N | SliceType<T, N>) => Slice<T, N>; | ||
remove: <T, N extends string = string>(slice: N | SliceType<T, N>) => void; | ||
has: <T, N extends string = string>(slice: N | SliceType<T, N>) => boolean; | ||
get: <T, N extends string = string>(slice: SliceType<T, N> | N) => Slice<T, N>; | ||
remove: <T, N extends string = string>(slice: SliceType<T, N> | N) => void; | ||
has: <T, N extends string = string>(slice: SliceType<T, N> | N) => boolean; | ||
} | ||
//# sourceMappingURL=container.d.ts.map |
@@ -11,12 +11,12 @@ import type { Container, Slice, SliceType } from '../context'; | ||
readonly produce: (meta?: Meta) => Ctx; | ||
readonly inject: <T>(sliceType: SliceType<T, string>, value?: T | undefined) => this; | ||
readonly remove: <T, N extends string = string>(sliceType: N | SliceType<T, N>) => this; | ||
readonly inject: <T>(sliceType: SliceType<T>, value?: T) => this; | ||
readonly remove: <T, N extends string = string>(sliceType: SliceType<T, N> | N) => this; | ||
readonly record: (timerType: TimerType) => this; | ||
readonly clearTimer: (timerType: TimerType) => this; | ||
readonly isInjected: <T, N extends string = string>(sliceType: N | SliceType<T, N>) => boolean; | ||
readonly isInjected: <T, N extends string = string>(sliceType: SliceType<T, N> | N) => boolean; | ||
readonly isRecorded: (timerType: TimerType) => boolean; | ||
readonly use: <T, N extends string = string>(sliceType: N | SliceType<T, N>) => Slice<T, N>; | ||
readonly get: <T, N extends string>(sliceType: N | SliceType<T, N>) => T; | ||
readonly set: <T, N extends string>(sliceType: N | SliceType<T, N>, value: T) => void; | ||
readonly update: <T, N extends string>(sliceType: N | SliceType<T, N>, updater: (prev: T) => T) => void; | ||
readonly use: <T, N extends string = string>(sliceType: SliceType<T, N> | N) => Slice<T, N>; | ||
readonly get: <T, N extends string>(sliceType: SliceType<T, N> | N) => T; | ||
readonly set: <T, N extends string>(sliceType: SliceType<T, N> | N, value: T) => void; | ||
readonly update: <T, N extends string>(sliceType: SliceType<T, N> | N, updater: (prev: T) => T) => void; | ||
readonly timer: (timer: TimerType) => import("../timer").Timer; | ||
@@ -23,0 +23,0 @@ readonly done: (timer: TimerType) => void; |
{ | ||
"name": "@milkdown/ctx", | ||
"type": "module", | ||
"version": "7.3.5", | ||
"version": "7.3.6", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "repository": { | ||
"tslib": "^2.5.0", | ||
"@milkdown/exception": "7.3.5" | ||
"@milkdown/exception": "7.3.6" | ||
}, | ||
@@ -37,0 +37,0 @@ "nx": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76329
+ Added@milkdown/exception@7.3.6(transitive)
- Removed@milkdown/exception@7.3.5(transitive)
Updated@milkdown/exception@7.3.6