Skip to content

Add return types to all interface methods in Zowe Explorer API #2952

@t1m0thyj

Description

@t1m0thyj

Zowe Explorer API defines many interfaces containing methods, some of which do not have return types defined.

For example, many of the methods on the IZoweTree interface are lacking return types:
https://github.com/zowe/zowe-explorer-vscode/blob/next/packages/zowe-explorer-api/src/tree/IZoweTree.ts

Adding return types could be considered a breaking change but should improve the experience for developers/extenders. For example, when calling ZoweTreeProvider.addFavorite it'd be nice to have a return type Promise<void> displayed by IntelliSense instead of any 😋

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpriority-highProduction outage - this quarter or at least next quarterv3

Type

No type
No fields configured for issues without a type.

Projects

Status
Closed

Relationships

None yet

Development

No branches or pull requests

Issue actions