File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/tasks-gen/scripts Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -147,10 +147,10 @@ async function generateBinaryInputTypes(
147147 const propName = propSignature . name . getText ( tsSource ) ;
148148
149149 const propIsMedia =
150- typeof spec [ "properties" ] !== "string" &&
151- typeof spec [ "properties" ] ?. [ propName ] !== "string" &&
152- typeof spec [ "properties" ] ?. [ propName ] ?. [ "comment" ] === "string"
153- ? ! ! spec [ "properties" ] ?. [ propName ] ?. [ "comment" ] ? .includes ( "type=binary" )
150+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
151+ typeof ( spec as any ) [ "properties" ] ?. [ propName ] ?. [ "comment" ] === "string"
152+ ? // eslint-disable-next-line @typescript-eslint/no-explicit-any
153+ ! ! ( spec as any ) [ "properties" ] [ propName ] [ "comment" ] . includes ( "type=binary" )
154154 : false ;
155155 if ( ! propIsMedia ) {
156156 return ;
You can’t perform that action at this time.
0 commit comments