adding typescript task and d.ts files
TS structure
TS structure