File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 31
31
32
32
- Fix file location in Document Symbols response. https://github.com/rescript-lang/rescript-vscode/issues/629
33
33
34
+ - Fix issue where create interface file would not work with certain JSX V4 components https://github.com/rescript-lang/rescript-vscode/issues/617
35
+
34
36
## v1.8.2
35
37
36
38
#### :rocket : New Feature
Original file line number Diff line number Diff line change @@ -246,11 +246,7 @@ let printSignature ~extractor ~signature =
246
246
:: Sig_value (makeId (* make *) , makeValueDesc)
247
247
:: rest
248
248
when Ident. name propsId = " props"
249
- && getComponentTypeV4 makeValueDesc.val_type <> None
250
- &&
251
- match recordRepresentation with
252
- | Record_optional_labels _ -> true
253
- | _ -> labelDecls = [] (* empty record *) ->
249
+ && getComponentTypeV4 makeValueDesc.val_type <> None ->
254
250
(* PPX V4 component declaration:
255
251
type props = {...}
256
252
let v = ...
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ module MM: {
26
26
let make: unit => React.element
27
27
}
28
28
module Other: {
29
- type props<'name> = {name: 'name}
30
- let make: props< string> => React.element
29
+ @react.component
30
+ let make: (~name: string) => React.element
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments