microsoft / react-native-winrt

Windows Runtime projection for React Native for Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.d.ts type generation doesn't respect the include filter parameters on a per-type (enum/class/struct etc.) basis

nichamp opened this issue · comments

For example, if one were to pass -include Windows.Web.Http.HttpStatusCode to jswinrt, the native codegen correctly emits only HttpStatusCode in that namespace, whereas the .d.ts output includes all the other types like HttpStringContent. These should ideally align so that the developer writing TS doesn't accidentally use an-unprojected API.