File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
packages/plugin-vue/src/utils Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ module.exports = defineConfig({
62
62
'node/no-unpublished-require' : 'off' ,
63
63
'node/no-unsupported-features/es-syntax' : 'off' ,
64
64
65
- '@typescript-eslint/array-type' : [ 'error' , { default : 'array-simple' } ] ,
66
65
'@typescript-eslint/ban-ts-comment' : 'off' , // TODO: we should turn this on in a new PR
67
66
'@typescript-eslint/ban-types' : 'off' , // TODO: we should turn this on in a new PR
68
67
'@typescript-eslint/explicit-module-boundary-types' : [
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import type { ResolvedOptions, VueQuery } from '..'
8
8
// compiler-sfc should be exported so it can be re-used
9
9
export interface SFCParseResult {
10
10
descriptor : SFCDescriptor
11
- errors : Array < CompilerError | SyntaxError >
11
+ errors : ( CompilerError | SyntaxError ) [ ]
12
12
}
13
13
14
14
export const cache = new Map < string , SFCDescriptor > ( )
Original file line number Diff line number Diff line change @@ -193,18 +193,18 @@ type UntilBrowserLogAfterCallback = (logs: string[]) => PromiseLike<void> | void
193
193
194
194
export async function untilBrowserLogAfter (
195
195
operation : ( ) => any ,
196
- target : string | RegExp | Array < string | RegExp > ,
196
+ target : string | RegExp | ( string | RegExp ) [ ] ,
197
197
expectOrder ?: boolean ,
198
198
callback ?: UntilBrowserLogAfterCallback ,
199
199
) : Promise < string [ ] >
200
200
export async function untilBrowserLogAfter (
201
201
operation : ( ) => any ,
202
- target : string | RegExp | Array < string | RegExp > ,
202
+ target : string | RegExp | ( string | RegExp ) [ ] ,
203
203
callback ?: UntilBrowserLogAfterCallback ,
204
204
) : Promise < string [ ] >
205
205
export async function untilBrowserLogAfter (
206
206
operation : ( ) => any ,
207
- target : string | RegExp | Array < string | RegExp > ,
207
+ target : string | RegExp | ( string | RegExp ) [ ] ,
208
208
arg3 ?: boolean | UntilBrowserLogAfterCallback ,
209
209
arg4 ?: UntilBrowserLogAfterCallback ,
210
210
) : Promise < string [ ] > {
@@ -221,7 +221,7 @@ export async function untilBrowserLogAfter(
221
221
}
222
222
223
223
async function untilBrowserLog (
224
- target ?: string | RegExp | Array < string | RegExp > ,
224
+ target ?: string | RegExp | ( string | RegExp ) [ ] ,
225
225
expectOrder = true ,
226
226
) : Promise < string [ ] > {
227
227
let resolve : ( ) => void
You can’t perform that action at this time.
0 commit comments