fix typescript dependency.