|
| 1 | +import * as api from './dist/api'; |
| 2 | + |
| 3 | +declare global { |
| 4 | + namespace NodeJS { |
| 5 | + interface Global { |
| 6 | + // Runtime API |
| 7 | + allure: typeof api.allure; |
| 8 | + // Pseudo-annotations |
| 9 | + $Description: typeof api.$Description; |
| 10 | + $DescriptionHtml: typeof api.$DescriptionHtml; |
| 11 | + $Epic: typeof api.$Epic; |
| 12 | + $Feature: typeof api.$Feature; |
| 13 | + $Issue: typeof api.$Issue; |
| 14 | + $Link: typeof api.$Link; |
| 15 | + $Owner: typeof api.$Owner; |
| 16 | + $Severity: typeof api.$Severity; |
| 17 | + $Story: typeof api.$Story; |
| 18 | + $Tag: typeof api.$Tag; |
| 19 | + $TmsLink: typeof api.$TmsLink; |
| 20 | + // Decorators |
| 21 | + Attachment: typeof api.Attachment; |
| 22 | + FileAttachment: typeof api.FileAttachment; |
| 23 | + Step: typeof api.Step; |
| 24 | + } |
| 25 | + } |
| 26 | + |
| 27 | + // Runtime API |
| 28 | + var allure: typeof api.allure; |
| 29 | + // Pseudo-annotations |
| 30 | + var $Description: typeof api.$Description; |
| 31 | + var $DescriptionHtml: typeof api.$DescriptionHtml; |
| 32 | + var $Epic: typeof api.$Epic; |
| 33 | + var $Feature: typeof api.$Feature; |
| 34 | + var $Issue: typeof api.$Issue; |
| 35 | + var $Link: typeof api.$Link; |
| 36 | + var $Owner: typeof api.$Owner; |
| 37 | + var $Severity: typeof api.$Severity; |
| 38 | + var $Story: typeof api.$Story; |
| 39 | + var $Tag: typeof api.$Tag; |
| 40 | + var $TmsLink: typeof api.$TmsLink; |
| 41 | + // Decorators |
| 42 | + var Attachment: typeof api.Attachment; |
| 43 | + var FileAttachment: typeof api.FileAttachment; |
| 44 | + var Step: typeof api.Step; |
| 45 | +} |
0 commit comments