Chai import in Typescript
I am trying to use chai in typescript.
The jai jai example shows this as:
var should = require('chai').should();
I downloaded the type definition:
tsd install chai
... refers to a file, tried to import
/// <reference path='../typings/chai/chai.d.ts' />
import should = require('chai').should();
I get:
error TS1005: ';' expected
... any idea how to do this?
+3
source to share