Skip to content

Commit

Permalink
chore(core): optmize code #WIK-5809
Browse files Browse the repository at this point in the history
  • Loading branch information
huanhuanwa committed Feb 14, 2022
1 parent 6d595fe commit 291c3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/src/plugins/with-angular.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { AngularEditor } from './angular-editor';
import { SlateError } from '../types/error';
import { findCurrentLineRange } from '../utils/lines';

export const withAngular = <T extends AngularEditor>(
export const withAngular = <T extends Editor>(
editor: T,
clipboardFormatKey = 'x-slate-fragment'
) => {
Expand Down

0 comments on commit 291c3eb

Please sign in to comment.