Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

'undefined' being written to tsd.d.ts #120

Open
rcollette opened this issue Feb 1, 2015 · 1 comment
Open

'undefined' being written to tsd.d.ts #120

rcollette opened this issue Feb 1, 2015 · 1 comment

Comments

@rcollette
Copy link

I believe this may be happening when a run gulp and I have forgotten to use resolve when adding a definition. For example. I add gulp-util using:
tsd install gulp-util -s
I then run a task in gulp and get the error message
ProjectPath/typings/gulp-util/gulp-util.d.ts(7,1): 6053 File 'ProjectPath/typings/vinyl/vinyl.d.ts' not found.
After that the word undefined appears in tsd.d.ts which results in the error
ProjectPath/typings/tsd.d.ts(6,1): 1036 Statements are not allowed in ambient contexts.

@blakeembrey blakeembrey mentioned this issue May 1, 2015
7 tasks
@aciccarello
Copy link

For anyone else who runs into this issue. I had this happen briefly when I was running tsd while I had left a gulp + browserify + watchify + tsify build running in another window. Once I stopped my build and re-ran tsd, the file was fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants