Skip to content

Add type MergeTwo to exports from deepExtend module#168

Merged
andrewzolotukhin merged 1 commit intodevelopmentfrom
fix/deep
Apr 14, 2026
Merged

Add type MergeTwo to exports from deepExtend module#168
andrewzolotukhin merged 1 commit intodevelopmentfrom
fix/deep

Conversation

@andrewzolotukhin
Copy link
Copy Markdown
Contributor

Description

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactor / internal improvement

Checklist

  • I've added tests for my changes
  • I've run npm run lint and fixed any issues
  • I've run npm run test and all tests pass
  • I've added a changeset (npx changeset) if this changes package behavior

Copilot AI review requested due to automatic review settings April 14, 2026 11:37
@andrewzolotukhin andrewzolotukhin merged commit 509e9e1 into development Apr 14, 2026
1 check passed
@andrewzolotukhin andrewzolotukhin deleted the fix/deep branch April 14, 2026 11:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Exports the MergeTwo type from the @cleverbrush/deep package entrypoint so consumers can import it directly from the module’s public API.

Changes:

  • Re-export MergeTwo type from libs/deep/src/index.ts.
  • Update deepExtend import in index.ts to include type MergeTwo.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread libs/deep/src/index.ts
import { deepFlatten } from './deepFlatten.js';

export { deepEqual, deepExtend, deepFlatten, type Merge };
export { deepEqual, deepExtend, deepFlatten, type Merge, type MergeTwo };
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds a new public export (MergeTwo) from the package entrypoint, which changes the package’s public API surface. Per CONTRIBUTING.md (Pull Request Process / Changeset Guidelines), this should be accompanied by a changeset (likely a minor bump if treated as a new API, or patch only if the project considers this a bug fix but still requires a changeset for any behavior/API change).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants