title: Can I Specify Parameter Type as One of Many Types Instead of Any Type in TypeScript?
body: <p>In a method declaration in TypeScript, the parameter could be of type array of strings, booleans, or numbers. Do I have to declare it as any[] or is there a way to limit the input type as on of these three types?</p>