Skip to content

Commit

Permalink
fix: error 4082 when using defineLink (#8014)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien2p authored Jul 8, 2024
1 parent f1a8606 commit b450628
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/core/utils/src/modules-sdk/define-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ import { composeLinkName } from "../link"

export const DefineLinkSymbol = Symbol.for("DefineLink")

export interface DefineLinkExport {
[DefineLinkSymbol]: boolean
serviceName: string
}

type InputSource = {
serviceName: string
field: string
Expand Down Expand Up @@ -62,7 +67,7 @@ export function defineLink(
leftService: DefineLinkInputSource,
rightService: DefineLinkInputSource,
linkServiceOptions?: ExtraOptions
) {
): DefineLinkExport {
let serviceAObj = {} as ModuleLinkableKeyConfig
let serviceBObj = {} as ModuleLinkableKeyConfig

Expand Down

0 comments on commit b450628

Please sign in to comment.