After merging the above PR you have to start the assignment of export type variable with | for files.
For instance
// Original
export type OriginalCollectionOutput = JiraCollectionOutput;
// Convert into this
export type OriginalCollectionOutput = | JiraCollectionOutput;
You do not have to convert it if you are assigning a null value (I handled that case in the script).