I have a function where should return a LoginResponse type or null but Typescript lint is ignoring the null possibility and just displaying LoginResponse as possible value.
export const getSession = (): LoginResponse | null => {
return null
}
I also tried using undefined without success. Any thoughts?
