File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
programs/develop/webpack/lib Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import path from 'path'
2- import { type ErrorObject } from 'ajv'
32import {
43 red ,
54 brightGreen ,
@@ -182,7 +181,7 @@ export function webAccessibleResourcesV3Type(browser: DevOptions['browser']) {
182181
183182export function deprecatedMessage (
184183 browser : DevOptions [ 'browser' ] ,
185- errorData : ErrorObject < string , Record < string , any > , unknown > | undefined
184+ errorData : any
186185) {
187186 const schemaPath = errorData ?. schemaPath
188187 const splitSchemaPath = schemaPath ?. split ( '/' )
@@ -197,7 +196,7 @@ export function deprecatedMessage(
197196}
198197
199198export function invalidFieldType (
200- errorData : ErrorObject | undefined ,
199+ errorData : any ,
201200 browser : DevOptions [ 'browser' ]
202201) {
203202 const field = errorData ?. instancePath . replaceAll ( '/' , '.' ) . slice ( 1 ) || ''
You can’t perform that action at this time.
0 commit comments