File tree 1 file changed +2
-3
lines changed
programs/develop/webpack/lib 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import path from 'path'
2
- import { type ErrorObject } from 'ajv'
3
2
import {
4
3
red ,
5
4
brightGreen ,
@@ -182,7 +181,7 @@ export function webAccessibleResourcesV3Type(browser: DevOptions['browser']) {
182
181
183
182
export function deprecatedMessage (
184
183
browser : DevOptions [ 'browser' ] ,
185
- errorData : ErrorObject < string , Record < string , any > , unknown > | undefined
184
+ errorData : any
186
185
) {
187
186
const schemaPath = errorData ?. schemaPath
188
187
const splitSchemaPath = schemaPath ?. split ( '/' )
@@ -197,7 +196,7 @@ export function deprecatedMessage(
197
196
}
198
197
199
198
export function invalidFieldType (
200
- errorData : ErrorObject | undefined ,
199
+ errorData : any ,
201
200
browser : DevOptions [ 'browser' ]
202
201
) {
203
202
const field = errorData ?. instancePath . replaceAll ( '/' , '.' ) . slice ( 1 ) || ''
You can’t perform that action at this time.
0 commit comments