Skip to content

Instantly share code, notes, and snippets.

@ssougnez
Created October 9, 2021 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssougnez/d24aec525ee056169dd13c1da41058ae to your computer and use it in GitHub Desktop.
Save ssougnez/d24aec525ee056169dd13c1da41058ae to your computer and use it in GitHub Desktop.
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