* Restructure to support old versions * Fix tests
<reference path="../xxx/xxx.d.ts">
import * as Xxx from "xxx"
<reference types="xxx"/>