cornerstone3D
cornerstone3D copied to clipboard
[Bug] createVOISynchronizer signature is incorrect
Describe the Bug
Hello, The signature of the createVOISynchronizer function is incorrect. The options should be optional because they are assingned in the body of the function but currently they are required so Typescript throw an error when we don't provide them.
Steps to Reproduce
Use the createVOISynchronizer function with typescript
The current behavior
createVOISynchronizer(
synchronizerName: string,
options: VOISynchronizerOptions
)
The expected behavior
createVOISynchronizer(
synchronizerName: string,
options?: VOISynchronizerOptions
)
OS
macOs
Node version
21.7.3
Browser
All