@tiptap/core 3.11.0 → 3.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -195,7 +195,7 @@ declare class Mark<Options = any, Storage = any> extends Extendable<Options, Sto
195
195
  mark: Mark;
196
196
  }): boolean;
197
197
  configure(options?: Partial<Options>): Mark<Options, Storage>;
198
- extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
198
+ extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig extends MarkConfig<ExtendedOptions, ExtendedStorage> = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
199
199
  name: string;
200
200
  options: ExtendedOptions;
201
201
  storage: ExtendedStorage;
@@ -488,7 +488,7 @@ declare class Node<Options = any, Storage = any> extends Extendable<Options, Sto
488
488
  */
489
489
  static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>> | (() => Partial<NodeConfig<O, S>>)): Node<O, S>;
490
490
  configure(options?: Partial<Options>): Node<Options, Storage>;
491
- extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
491
+ extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig extends NodeConfig<ExtendedOptions, ExtendedStorage> = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
492
492
  name: string;
493
493
  options: ExtendedOptions;
494
494
  storage: ExtendedStorage;
package/dist/index.d.ts CHANGED
@@ -195,7 +195,7 @@ declare class Mark<Options = any, Storage = any> extends Extendable<Options, Sto
195
195
  mark: Mark;
196
196
  }): boolean;
197
197
  configure(options?: Partial<Options>): Mark<Options, Storage>;
198
- extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
198
+ extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig extends MarkConfig<ExtendedOptions, ExtendedStorage> = MarkConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
199
199
  name: string;
200
200
  options: ExtendedOptions;
201
201
  storage: ExtendedStorage;
@@ -488,7 +488,7 @@ declare class Node<Options = any, Storage = any> extends Extendable<Options, Sto
488
488
  */
489
489
  static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>> | (() => Partial<NodeConfig<O, S>>)): Node<O, S>;
490
490
  configure(options?: Partial<Options>): Node<Options, Storage>;
491
- extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
491
+ extend<ExtendedOptions = Options, ExtendedStorage = Storage, ExtendedConfig extends NodeConfig<ExtendedOptions, ExtendedStorage> = NodeConfig<ExtendedOptions, ExtendedStorage>>(extendedConfig?: (() => Partial<ExtendedConfig>) | (Partial<ExtendedConfig> & ThisType<{
492
492
  name: string;
493
493
  options: ExtendedOptions;
494
494
  storage: ExtendedStorage;