Fix issue with '<reference path='file.ts'/>
Merge pull request #7 from ccll/master

Fix issue with '<reference path='file.ts'/>