use tuple as a function output in typescript code example Example: typescript tuples var mytuple = [10, "Hello", true, 15.98];