I am new to TypeScript and came across the symbol | while solving LeetCode problem using Typescript. I guess it defines default variable type. Can someone elaborate it.