-
Notifications
You must be signed in to change notification settings - Fork 129
Error when compiling with gulp-typescript. #564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I resolved some errors by running Now I only have this ones:
|
server.ts
root.ts
This is my code in those files |
I solved it by explicitly annotating the router and the express variables.
|
With your configuration, you are not using the tsconfig file. You need to use |
I deleted (commented out) what I had in this comment.
|
Ok, I thought something was going wrong. Turns out I only get an issue like the one above during rebuilds in watch mode. So I made a new issue for that: #621 |
When compiling with gulp-typescript I get an error.
With tsc everything works as expected and no errors are shown.
I am using [email protected] and I also tried version 3.0.2 as suggested here ##421.
Expected behavior:
compiled typescript files
Actual behavior:
Your gulpfile:
Include your gulpfile, or only the related task (with
ts.createProject
).tsconfig.json
Include your tsconfig, if related to this issue.
Code
Include your TypeScript code, if necessary.
The text was updated successfully, but these errors were encountered: