You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fails on tsc. "Receiving TS4022 -- has or is using private name 'RequestOptionsBase'." Manually corrected by exporting type RequestOptionsBase. Looking to understand if this is user error and / or correctable.
I've opened a request to fix issues like these in TypeScript by bringing declaration files to parity with language features. microsoft/TypeScript#35822
autorest output of file https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/iothub/resource-manager/Microsoft.Devices/stable/2018-04-01/iothub.json with following specifications:
typescript.azure-arm: true
typescript:
output-folder: ./lib/
license-header: MICROSOFT_MIT_NO_VERSION
add-credentials: true
package-name: microsoft-azure-devices-iothub-controlplane
input-file: ./src/2018-04-01/iothub.json
package-version: 2018.04.01.01
generate-metadata: true
fails on tsc. "Receiving TS4022 -- has or is using private name 'RequestOptionsBase'." Manually corrected by exporting type RequestOptionsBase. Looking to understand if this is user error and / or correctable.
Loading AutoRest core 'C:\Users\[email protected][email protected]\[email protected]\autorest-core\dist' (2.0.4277)
Loading AutoRest extension '@microsoft.azure/autorest.typescript' (~2.0.12->2.0.176)
Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.1.23->2.1.23)
New to tech -- so guidance appreciated.
The text was updated successfully, but these errors were encountered: