Skip to content

Commit 659d79a

Browse files
committed
Deprecation.
1 parent e1dcd70 commit 659d79a

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

jscomp/gentype_tests/typescript-react-example/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test: node_modules/.bin/tsc
77
npm run build
88

99
clean:
10-
rm -r node_modules lib
10+
rm -rf node_modules lib
1111

1212
.DEFAULT_GOAL := test
1313

Binary file not shown.

jscomp/gentype_tests/typescript-react-example/src/Records.bs.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/gentype_tests/typescript-react-example/src/Records.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let computeArea = ({x, y, z}) => {
1515
x * y * z->mapWithDefault(1, n => n)
1616
}
1717

18-
@genType let coord2d = (x, y) => {x: x, y: y, z: None}
18+
@genType let coord2d = (x, y) => {x, y, z: None}
1919

2020
@genType
2121
type person = {
@@ -43,7 +43,7 @@ let findAddress = (business: business): list<string> =>
4343
let findAllAddresses = (businesses: array<business>): array<string> =>
4444
businesses
4545
->Array.map(business =>
46-
\"@"(
46+
Belt.List.concat(
4747
business.address->getOpt(list{}, a => list{a}),
4848
business.owner->getOpt(list{}, p => p.address->getOpt(list{}, a => list{a})),
4949
)

0 commit comments

Comments
 (0)