Define Type Of Array In Typescript Compiler Npm