tsd init and adding promise declare file