Skip to content

Commit b4cf1a1

Browse files
committed
add to keyword as record prop in highlight examples
1 parent a42d74f commit b4cf1a1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

analysis/examples/example-project/src/syntax/sample-highlighting.res

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ type someRecord<'typeParameter> = {
1212
someOtherField: string,
1313
theParam: typeParameter,
1414
another: bool,
15+
to: string,
1516
}
1617

1718
type someEnum =
@@ -35,6 +36,7 @@ let destructuring = () => {
3536
someOtherField: "hello",
3637
theParam: 2,
3738
another: true,
39+
to: "123",
3840
}
3941
let {someField, someOtherField, theParam} = someObj
4042

analysis/examples/example-project/src/syntax/sample-highlighting.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ type someRecord<typeParameter> = {
1616
someOtherField: string;
1717
theParam: typeParameter;
1818
another: boolean;
19+
to: string;
1920
};
2021

2122
enum someEnum {
@@ -32,6 +33,7 @@ let destructuring = () => {
3233
someOtherField: "hello",
3334
theParam: 2,
3435
another: true,
36+
to: "123",
3537
};
3638
let { someField, someOtherField, theParam } = someObj;
3739

0 commit comments

Comments
 (0)