diff --git a/src/iden3comm/types/protocol/attachment.ts b/src/iden3comm/types/protocol/attachment.ts index 5b418974..4fb4dde4 100644 --- a/src/iden3comm/types/protocol/attachment.ts +++ b/src/iden3comm/types/protocol/attachment.ts @@ -1,4 +1,5 @@ import { MediaType } from '../../constants'; +import { JsonDocumentObject } from '../packer'; export type Attachment = { id: string; @@ -8,6 +9,5 @@ export type Attachment = { }; export type AttachData = { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - json: any; + json: JsonDocumentObject; };