Commit 487c2c2
committed
fix(dts-generator): support rest parameters in functions in nested types
When api.json contains:
Object<string,function(...any)>|function
Then the d.ts file will contain:
Record<string, (...p1: any) => void> | Function;
Before this fix, the function had no parameter.1 parent b6c0fe5 commit 487c2c2
File tree
3 files changed
+5
-5
lines changed- packages/dts-generator/src/phases
- test-packages/openui5-snapshot-test
- input-sdk
- output-dts
3 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
876 | | - | |
| 876 | + | |
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110776 | 110776 | | |
110777 | 110777 | | |
110778 | 110778 | | |
110779 | | - | |
| 110779 | + | |
110780 | 110780 | | |
110781 | 110781 | | |
110782 | 110782 | | |
110783 | 110783 | | |
110784 | 110784 | | |
110785 | 110785 | | |
110786 | | - | |
| 110786 | + | |
110787 | 110787 | | |
110788 | 110788 | | |
110789 | 110789 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83938 | 83938 | | |
83939 | 83939 | | |
83940 | 83940 | | |
83941 | | - | |
| 83941 | + | |
83942 | 83942 | | |
83943 | 83943 | | |
83944 | 83944 | | |
83945 | | - | |
| 83945 | + | |
83946 | 83946 | | |
83947 | 83947 | | |
83948 | 83948 | | |
| |||
0 commit comments