Andreas Kunz
Andreas Kunz
Reported in https://github.com/SAP/ui5-typescript/issues/337
This structure is only explained in the documentation fulltext. The JSDoc used for the TypeScript definition just says "object". Used for e.g. the methods getNextUIState and getCurrentUIState. Tracked by internal...
This is the place to discuss control development support with the new ES module version of the UI5 type definitions, the one recommended to be used going forward. This is...
It should be possible to provide narrower types for control properties of type "function" (for callbacks) or "object" (sometimes questionable, but sometimes justified).
**Prettier 3.2.5** [Playground link](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEcAeAHCAnGACAEzgDMBDAVwBt8xLSBnevAWQE8BhOxvdeKApmwDK5DHGycGTAJYBbDJTiyEMJgHoAVHmIQIeDWrwBJIRGUwAFtKgBzADR5NeAEals+w0YDyl8QBUrWwcnVwAvD2MA6WwCKNs8YAAdKABfZOT0LFxCEgpqPFopFg4uemS8HjQ+AWKRMQlS8rw5BSUVMqgKiqcdPQNjU3NA+yburVd3fu9fbDiRzq6Q0nCpqJi5hJSQOxAIDBhpaHpkUDdsCAB3AAU3BGOUUkoL0lZjnedsUjAAazgYIVIygAMtY4MgyJR6HB3p8fn8hBgvtYbMgYNhyNCQFDZNJUejMZlxHIVI8-OIoG5pHB7hCoTt6MjFABFcgQeDgx50kAAK3oaCEjLgLLZYKQtMxAEdWfArucMPcQAwALRQOBwIgEbYgNGkaSUZHsMyyUjIRWUShahm2RQAQRgaOkznIMvEINVHMhmIsMFklAA6lZ4PREWA4EI7tIDgA3SOsU1gRhaqMYoz8FRCMDYaT7G38IQwViKD1cjDnKF+z4YU2l6niKNgnbWKG4WWkGzG4uYxHYZumgtieiZ7MwLWl6wwP3SAiWZAADgADDtsHApdE4K32yaxZzMTBSM5J9OLMgAEw7chQvz7mk7nZKZzqjVA0i2chtuAAMRwxvtyNNFBgCAQBSFIgA) ```sh --parser typescript ``` **Input:** ```tsx export default class MyClass extends MySuperClass implements /* foo */ ISomething, /* bar */ IOtherThing, /* baz */ IThirdThing {...
Managed properties are automatically detected and excluded from `EditableXY` types, but this detection is so far very basic, only covering single-key fields, as described at https://odata2ts.github.io/docs/generator/managed-props At least in SAP...
https://github.com/ui5-community/generator-ui5-ts-app/blob/efc38410e5ad7802eaff2de2298b711bc0d27259/generators/app/templates/webapp/test/unit/unitTests.qunit.html#L23 loads "sinon.js" from UI5's thirdparty folder, which means it's super-old.
...at least in deeper levels. This is required for building type definitions where the pseudo parameter "this" defines the type on which the method is called. Declaring this in .dtsgenrc...