ui5-typescript icon indicating copy to clipboard operation
ui5-typescript copied to clipboard

feat(dts-generator): add TypedJSONModel - trying, wip, do not submit

Open akudev opened this issue 6 months ago • 1 comments

Add the type definitions for the TypedJSONModel and adapt the generator to insert them to the core d.ts file.

akudev avatar Jun 20 '25 09:06 akudev

@codeworrior Yes, and intentionally so, as the API makes no sense for JS developers and would only confuse. The discoverability for TS developers is of course limited, but isn't that the case for other TS-specific tweaks already, like in the area of ControllerExtensions? I'd argue that the place for discovering features is either the fulltext documentation (where this should be added) or samples (dito) or the in-editor API suggestions. Not many read the API doc to find out which feature they might want to use. But we can of course easily add JSDoc saying "only makes a difference in TS".

akudev avatar Jun 23 '25 16:06 akudev

superseded by https://github.com/UI5/typescript/pull/516

akudev avatar Jul 29 '25 15:07 akudev