Skip to content

Commit dea8cd5

Browse files
authored
fix(template-builder, esign): ensure superdoc >=1.24.2 peer dep for correct types (IT-852) (#2693)
1 parent b15e74d commit dea8cd5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/esign/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { SuperDoc } from 'superdoc'; // eslint-disable-line
1+
import type { SuperDoc } from 'superdoc';
22

33
export type FieldValue = string | boolean | number | null | undefined;
44
export type TableFieldValue = string[][];

packages/template-builder/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useRef, useState, useEffect, useCallback, useMemo, forwardRef, useImperativeHandle } from 'react';
2-
import type { SuperDoc } from 'superdoc';
2+
import type { SuperDoc } from 'superdoc'; // requires superdoc >=1.24.2 for correct types
33
import type * as Types from './types';
44
import { FieldMenu, FieldList } from './defaults';
55
import { areTemplateFieldsEqual, resolveToolbar, clampToViewport, getPresentationEditor } from './utils';

0 commit comments

Comments
 (0)