feat(typings): Enhance typing support with withAppTypes and custom services throughout OHIF (#4090)
This commit is contained in:
1 parent
b2cd0172d6
commit
374065bc3b
153 files changed
+842
-657
No files matched your search
@@ -8,7 +8,7 @@ import { useTrackedMeasurements } from './../getContextModule';
|
||||
import { BaseVolumeViewport, Enums } from '@cornerstonejs/core';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
function TrackedCornerstoneViewport(props) {
|
||||
function TrackedCornerstoneViewport(props: withAppTypes) {
|
||||
const { displaySets, viewportId, servicesManager, extensionManager } = props;
|
||||
|
||||
const {
|
||||
@@ -251,7 +251,7 @@ TrackedCornerstoneViewport.defaultProps = {
|
||||
|
||||
function _getNextMeasurementUID(
|
||||
direction,
|
||||
servicesManager,
|
||||
servicesManager: AppTypes.ServicesManager,
|
||||
trackedMeasurementId,
|
||||
trackedMeasurements
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user