Skip to content

Commit f043bb7

Browse files
committed
Use [] instead of Array
1 parent 0fd0c23 commit f043bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cmake-rn/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const defineOption = new Option(
8989
"-D,--define <entry...>",
9090
"Define cache variables passed when configuring projects",
9191
)
92-
.argParser<Array<Record<string, string>>>((input, previous = []) => {
92+
.argParser<Record<string, string>[]>((input, previous = []) => {
9393
// TODO: Implement splitting of value using a regular expression (using named groups) for the format <var>[:<type>]=<value>
9494
// and return an object keyed by variable name with the string value as value or alternatively an array of [value, type]
9595
const match = input.match(

0 commit comments

Comments
 (0)