Skip to content

Commit

Permalink
fix(read-dicom-tags): tweek typescript options and return types
Browse files Browse the repository at this point in the history
closes #896
  • Loading branch information
PaulHax committed Aug 16, 2023
1 parent 2c95f29 commit 4b96022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions packages/dicom/typescript/src/read-dicom-tags-options.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// Generated file. To retain edits, remove this comment.

interface ReadDicomTagsOptions {
/** A JSON object with a "tags" array of the tags to read. If not provided, all tags are read. Example tag: "0008|103e". */
tagsToRead?: Object

tagsToRead?: { tags: Array<string> }
}

export default ReadDicomTagsOptions
5 changes: 1 addition & 4 deletions packages/dicom/typescript/src/read-dicom-tags-result.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// Generated file. To retain edits, remove this comment.

interface ReadDicomTagsResult {
/** WebWorker used for computation */
webWorker: Worker | null

/** Output tags in the file. JSON object an array of [tag, value] arrays. Values are encoded as UTF-8 strings. */
tags: Object

tags: Array<[string, string]>
}

export default ReadDicomTagsResult

0 comments on commit 4b96022

Please sign in to comment.