commit cee5fb8fe083093269b7f9c286368a558d81dda6 Author: umamahesh.b Date: Wed Aug 12 09:57:30 2026 +0530 practiced ts diff --git a/index.js b/index.js new file mode 100644 index 0000000..96d8726 --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +"use strict"; +let greetings = 'Great Work!'; +let names = [1, 2, 3, "test"]; diff --git a/index.ts b/index.ts new file mode 100644 index 0000000..2bce83d --- /dev/null +++ b/index.ts @@ -0,0 +1,2 @@ +let greetings: string = 'Great Work!' +let names: (string | number)[] = [1,2,3,"test"] \ No newline at end of file