Skip to content

Commit 38bb82b

Browse files
committed
👍 change the export valiable to const literals array
1 parent ba2640e commit 38bb82b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

argument/opts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const builtinOpts = [
1616
"nobinary",
1717
"bad",
1818
"edit",
19-
];
19+
] as const;
2020

2121
const optPattern = /^\+\+([a-zA-Z0-9-]+)(?:=(.*))?/;
2222

0 commit comments

Comments
 (0)