File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/apidom-ls/src/services/validation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -801,13 +801,13 @@ export const standardLinterfunctions: FunctionItem[] = [
801
801
const value = toValue ( element ) ;
802
802
803
803
const filterSiblingsOAS2 = (
804
- el : Element & { key : { content ?: string } ; content : { value ?: string } } ,
804
+ el : Element & { key ? : { content ?: string } ; content : { value ?: string } } ,
805
805
) => isString ( el ) && el . key ?. content === key && toValue ( el . content . value ) === value ;
806
806
807
807
const filterSiblingsOAS3 = ( el : Element ) =>
808
808
isObject ( el ) && el . hasKey ( key ) && toValue ( el . get ( key ) ) === value ;
809
809
810
- const elements = filter ( ( el ) => {
810
+ const elements = filter ( ( el : Element ) => {
811
811
const classes : string [ ] = toValue ( el . getMetaProperty ( 'classes' , [ ] ) ) ;
812
812
813
813
return (
You can’t perform that action at this time.
0 commit comments