Skip to content

Commit

Permalink
Add constructor and update doc for WriterRule
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Aug 30, 2023
1 parent 9b72102 commit 3d825b1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/dicom/dicomWriter.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,18 @@ export class WriterRule {
*/
action;
/**
* Value to use for replace action.
* Optional value to use for replace action.
*
* @type {any}
* @type {any|undefined}
*/
value;

/**
* @param {string} action The rule action.
*/
constructor(action) {
this.action = action;
}
}

/**
Expand Down

0 comments on commit 3d825b1

Please sign in to comment.