In this article I have described simple functions in TypeScript with an example.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.