Closed ghost closed 1 year ago
This issue is stale because it has been open 45 days with no activity. It will be closed in 5 days, but can be saved by removing the stale label or commenting.
We should use the node-opcua types here to minimize the own definitions.
This issue is stale because it has been open 60 days with no activity. It will be closed in 15 days, but can be saved by removing the stale label or commenting.
Description
The
Todo
type is intended as a temporary placeholder, but is very widely used across files, which helped get the TypeScript upgrade running quickly, but becauseTodo
is simply an alias of the defaultany
type, a lot of type information is lost by using it, which decreases the advantages of TypeScript over JavaScript. The Todo type should be completely removed and replaced by types that properly describe the objects that are assigned that type.This Issue serves as an overview of the task's overall status.
Good first issue
This issue has been marked as a "Good first issue", since removing the Todo type has a low risk of causing any breaking changes, while offering a great opportunity to navigate the code and become acquainted with the functionality and structure of a Node-RED node, node-opcua, and this project.
Successful removal
The Todo type is successfully removed when the import can be removed from a file, the build runs successfully via
gulp build
and the test completion remains the same (or better), run vianpm run summary
.Contibuting
To contribute toward this issue, please first create a separate issue including details of which files you are removing the
Todo
type from.Remaining Files:
This is a list of all files that include use of the
Todo
type. A checked box implies that the Todo type has been removed.