Skip to content
AutoMapper TypeScript
Esc
navigateopen⌘Jpreview

ignore

Mark a destination member as intentionally unmapped.

createMap(
  mapper,
  User,
  UserDto,
  forMember((destination) => destination.internalNote, ignore()),
);

The destination value remains undefined, but the member counts as configured and is excluded from unmapped-property diagnostics.

Last updated on July 16, 2026

Was this page helpful?