-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(read-dicom-tags): tweek typescript options and return types
closes #896
- Loading branch information
Showing
2 changed files
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |