sp-rest-explorer
sp-rest-explorer copied to clipboard
Feature request : export as typescript
This tools is awesome, mainly because Microsoft has a quite poor documentation regarding the REST APIs.
It would be nice, in each type page to have a typescript type snippet that we may copy/paste into SPFX project, when we have to deal with some spHttpClient request.
For example, in the page SP.Web entity page, it would be nice to have a block containing something like:
interface SP_Web extends SP_SecurableObject {
AccessRequestListUrl: string,
AccessRequestSiteDescription: string
// and so on ...
}
Another project edmx-typescript-generator is doing something similar, but it's for command line and there are some types that are not properly exported.
Yeah, it makes sense, thanks for the suggestion! Will work on this feature when I finish upcoming fast-serve changes.