Skip to content

Commit a723b6b

Browse files
committed
Adapt to file name change in @ui5/ts-interface-generator 0.4.0
1 parent b7ccf77 commit a723b6b

File tree

7 files changed

+1
-1
lines changed

7 files changed

+1
-1
lines changed

exercises/ex7/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ To use this tool:
143143

144144
This starts the interface generator tool in "watch" mode and creates the required interface definitions after a short startup delay during which all existing types in the project and in UI5 are scanned.
145145

146-
You can inspect the generated files [`src/control/LineChart.generated.tsinterface.ts`](com.myorg.myapp/src/control/LineChart.generated.tsinterface.ts) and [`src/control/ChartRecord.generated.tsinterface.ts`](com.myorg.myapp/src/control/ChartRecord.generated.tsinterface.ts) next to the custom control implementation. They define an interface with the same name as the control class and declare the same module name. This causes TypeScript to merge the definitions and to assume that the interface methods exist in the class.
146+
You can inspect the generated files [`src/control/LineChart.gen.d.ts`](com.myorg.myapp/src/control/LineChart.gen.d.ts) and [`src/control/ChartRecord.gen.d.ts`](com.myorg.myapp/src/control/ChartRecord.gen.d.ts) next to the custom control implementation. They define an interface with the same name as the control class and declare the same module name. This causes TypeScript to merge the definitions and to assume that the interface methods exist in the class.
147147

148148
As a result, the TypeScript error messages are gone and code completion is also available for all control API methods.
149149

0 commit comments

Comments
 (0)