Created
October 9, 2021 15:57
-
-
Save ssougnez/d24aec525ee056169dd13c1da41058ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from '@angular/core'; | |
import { BaseHistoryEntryComponent } from './base-history-entry.component'; | |
import { HistoryEntryComponent } from './history-entry-type.decorator'; | |
@Component({ | |
selector: 'workflow-ended-history-entry', | |
template: `<div>The workflow took {{ data | number }}ms to complete</div>`, | |
}) | |
@HistoryEntryComponent(3) | |
export class WorkflowEndedHistoryEntryComponent extends BaseHistoryEntryComponent<number> {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment