fixing TS module declaration