Skip to content
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

Add reference to /typings/tsd.d.ts in .js files #86

Closed
waldekmastykarz opened this issue Oct 30, 2015 · 2 comments
Closed

Add reference to /typings/tsd.d.ts in .js files #86

waldekmastykarz opened this issue Oct 30, 2015 · 2 comments
Assignees

Comments

@waldekmastykarz
Copy link
Contributor

Generated projects have the tsd.json file setup with references to Angular and Office typings. It would be helpful to include the reference to the /typings/tsd.d.ts file in all .js files so that developers can benefit of intellisense even if they're coding in plain JavaScript.

@andrewconnell
Copy link
Contributor

Actually what we need is to add a tsconfig.json to the root of the project that's created because editors will see that and automatically load all *.ts and *.d.ts files into memory so you don't have to do it. I thought we did add it... but looks like not... I can do this as I'm adding working on a bug fix update this weekend.

@waldekmastykarz
Copy link
Contributor Author

Cool! Thanks!

andrewconnell added a commit to andrewconnell/generator-office that referenced this issue Nov 8, 2015
…v#86

Added `tsconfig.json` to the root of all projects, assisting in intellisense/autocomplete in editors (such as VSCode) that will automatically load the office.d.ts typedefinition file.
andrewconnell added a commit that referenced this issue Nov 8, 2015
Added `tsconfig.json` to root of all gen'd projects, closing #86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants