add lib as typescript