refactor: remove AnyObject type
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import { Node, mergeAttributes } from '@tiptap/core'
|
||||
|
||||
export interface ListItemOptions {
|
||||
HTMLAttributes: {
|
||||
[key: string]: any
|
||||
},
|
||||
HTMLAttributes: Record<string, any>,
|
||||
}
|
||||
|
||||
export const ListItem = Node.create<ListItemOptions>({
|
||||
|
||||
Reference in New Issue
Block a user