added typescript snippets