-
Notifications
You must be signed in to change notification settings - Fork 593
Open
Labels
Area-RenderersBugPlatform-JavaScriptBugs or features related to the JavaScript rendererBugs or features related to the JavaScript renderer
Description
Platform
- JavaScript
Issue
The toJSON methods within serialization.ts are not properly checking the type of value. The parent class, PropertyDefinition, allows any as the value type, so typescript will allow any type to be passed to the overloaded methods on the child classes.
Proposed solution:
Allow all methods to accept any for value and do additional checking within the methods.
See this PR (only some portions are relevant): #7762
Metadata
Metadata
Assignees
Labels
Area-RenderersBugPlatform-JavaScriptBugs or features related to the JavaScript rendererBugs or features related to the JavaScript renderer