fixed wierd error by using lib.d.ts from typescript