title: Using Allure report with Typescript
body: <p>How to use Allure report with Typescript? I tried but it doesn't work.</p>
  
  <p>Error<br/></p>
  
  <pre><code>Message:
      Failed: Cannot read property 'severity' of undefined
    Stack:
      TypeError: Cannot read property 'severity' of undefined
  </code></pre>
  
  <p>config.ts<br/></p>
  
  <pre><code>onPrepare: function () {
     const AllureReporter = require('jasmine-allure-reporter');
        jasmine.getEnv().addReporter(new AllureReporter({
     resultsDir: 'target/allure-report'
     }));
  }
  </code></pre>
  
  <p>In spec files<br/>
  <code>import { allure } from 'allure-js-commons';</code></p>
  
  <p>For example<br/>
  <code>allure.severity(allure.SEVERITY.BLOCKER);</code></p>
  
  <p>I understand I do something wrong but what?</p>