add cornerstoneDICOMImageLoader to global window interface for enhanced accessibility
This commit is contained in:
@@ -27,6 +27,8 @@ declare global {
|
||||
interface Window {
|
||||
cornerstone3dTools: typeof cornerstoneTools;
|
||||
cornerstone3d: typeof cornerstone3d;
|
||||
cornerstoneDICOMImageLoader: typeof cornerstoneDICOMImageLoader;
|
||||
|
||||
}
|
||||
}
|
||||
function pixelToWorld(imageId: string, point: { x: number, y: number }) {
|
||||
@@ -78,6 +80,7 @@ declare global {
|
||||
|
||||
window.cornerstone3dTools = cornerstoneTools;
|
||||
window.cornerstone3d = cornerstone3d
|
||||
window.cornerstoneDICOMImageLoader = cornerstoneDICOMImageLoader;
|
||||
|
||||
|
||||
type ViewportDiv = HTMLDivElement & {
|
||||
|
||||
Reference in New Issue
Block a user