How do I return multiple parameters one as an interface and other as a variable from a function in node js

I have a constant

const STATUS= {status: {code: 200 }};

and the function is supposed to return an interface named student

export interface STUDENT
{
  ID?:number;
  NAME?:string
}

goal is to return the result as

return [STATUS,this.student_info as STUDENT]

When I use the above return statement an error is arising that “Conversion of type any[] to Student may be a mistake because neither type sufficiently overlaps with the other” P.S. this.student_info is previously populated by fetching data from SQL table

Answer

Create a type for STATUS and set the return type of the function to [STATUS_TYPE, STUDENT]

interface STATUS_TYPE {status: {code: 200; };};
const STATUS: STATUS_TYPE = {status: {code: 200 }};

export interface STUDENT
{
  ID?:number;
  NAME?:string
}

export class C {
  student_info?: STUDENT;
  f(): [STATUS_TYPE, STUDENT] {
    return [STATUS,this.student_info as STUDENT]
  }
}