Skip to content

Commit b990f49

Browse files
committed
fix braces types
1 parent d546ab3 commit b990f49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/cli-v3/src/build/braces.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@ interface Options {
117117
// Ambient type override for braces to allow string or string[] as pattern
118118
declare module "braces" {
119119
function braces(pattern: string | string[], options?: Options): string[];
120+
120121
namespace braces {
121-
function expand(pattern: string | string[]): string[];
122+
function expand(pattern: string | string[], options?: Omit<Options, "expand">): string[];
122123
}
123124

124-
export = braces;
125+
export default braces;
125126
}

0 commit comments

Comments
 (0)