Check If Type Is Array Typescript Interface