fix tests
This commit is contained in:
@@ -95,7 +95,10 @@ describe('extension options', () => {
|
|||||||
|
|
||||||
it('should configure nested objects', () => {
|
it('should configure nested objects', () => {
|
||||||
const extension = Extension
|
const extension = Extension
|
||||||
.create({
|
.create<{
|
||||||
|
foo: number[],
|
||||||
|
HTMLAttributes: Record<string, any>,
|
||||||
|
}>({
|
||||||
defaultOptions: {
|
defaultOptions: {
|
||||||
foo: [1, 2, 3],
|
foo: [1, 2, 3],
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {
|
||||||
|
|||||||
Reference in New Issue
Block a user