Skip to content

Commit 23bec1d

Browse files
[Typescript] allow passing readonly array to LocalesPlugin (#5646)
Co-authored-by: Reid Barber <reid@reidbarber.com>
1 parent b118b50 commit 23bec1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/optimize-locales-plugin/LocalesPlugin.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {UnpluginInstance} from 'unplugin';
22

33
type Options = {
4-
locales: string[]
4+
locales: readonly string[]
55
};
66

77
declare const plugin: UnpluginInstance<Options, boolean>;

0 commit comments

Comments
 (0)