KC's Workspace
    Preparing search index...

    Type Alias ExternalOptionFunction

    ExternalOptionFunction: (
        id: string,
        parentId: string | undefined,
        isResolved: boolean,
    ) => NullValue<boolean>

    Type Declaration

      • (
            id: string,
            parentId: string | undefined,
            isResolved: boolean,
        ): NullValue<boolean>
      • Parameters

        • id: string

          The id of the module being checked.

        • parentId: string | undefined

          The id of the module importing the id being checked.

        • isResolved: boolean

          Whether the id has been resolved.

        Returns NullValue<boolean>

        Whether the module should be treated as external.