Skip to content

Commit 78e3ce3

Browse files
committed
fix(dts-generator): hide internal helper types
1 parent 3bd749b commit 78e3ce3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/dts-generator/src/resources/typed-json-model.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ declare module "sap/ui/model/json/TypedJSONModel" {
230230
? never
231231
: Key;
232232
}[keyof Type];
233+
234+
export {}; // this prevents the non-exported types like PropertiesOf from being visible for applications
233235
}
234236

235237
declare module "sap/ui/model/json/TypedJSONContext" {

0 commit comments

Comments
 (0)