Skip to content

Commit

Permalink
- fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
rrodionov91 committed Jul 30, 2024
1 parent f63302e commit f2608b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ketcher-core/src/domain/entities/BaseMonomer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export abstract class BaseMonomer extends DrawingEntity {
public potentialSecondAttachmentPointForBond: AttachmentPointName | null;
public chosenSecondAttachmentPointForBond: AttachmentPointName | null;

public potentialAttachmentPointsToBonds: {
[key: string]: PolymerBond | null | undefined;
} = {};
public potentialAttachmentPointsToBonds: Partial<
Record<AttachmentPointName, PolymerBond | null>
> = {};

public attachmentPointsVisible = false;
public monomerItem: MonomerItemType;
Expand Down

0 comments on commit f2608b3

Please sign in to comment.