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

Declaration file #77

Closed
nillis opened this issue Dec 29, 2015 · 5 comments
Closed

Declaration file #77

nillis opened this issue Dec 29, 2015 · 5 comments

Comments

@nillis
Copy link
Contributor

nillis commented Dec 29, 2015

How would you generate a declaration file when creating a jspm bundle?

EDIT
Maybe I should clarify my goal behind the question: I want to be able to make use of full intellisense when importing external modules
f.e. external-services in https://github.com/frankwallis/plugin-typescript/tree/master/example/angular2

When I import this external module (external-services), I want to be able to determine the operations on the ExampleService with intellisense. What is the most convenient way atm to accomplish this?
https://github.com/frankwallis/plugin-typescript/blob/master/example/angular2/src/example-component.ts

@nillis
Copy link
Contributor Author

nillis commented Dec 29, 2015

@frankwallis
Copy link
Owner

Also see this one #73 and the issues linked to from there. TLDR it is difficult at the moment but will hopefully get easier.

@nillis
Copy link
Contributor Author

nillis commented Dec 30, 2015

I managed to get things working quite well now without having to create manual declaration files with the typings package (https://github.com/typings/typings) you suggested else where. I'll upload the sample when I'm home.

If there is anyhting I can help or contribute to make things easier (with TS, with your plugin, with SystemJS-TS integration, with JSPM, ...), I'm glad to help. All these projects are pure diamonds which will be fine-tuned in the coming months. Thanks to you for creating this plugin!

@frankwallis
Copy link
Owner

Thanks, I think things are pretty under control at the moment, but I appreciate your interest. Just reporting/fixing issues and suggesting features is very useful. I am in the process of doing some fairly major changes to support hot-reloading, so you want to give them a go and let me know if you have any problems that would be a help. I will be pushing them to master today or tomorrow.

@nillis
Copy link
Contributor Author

nillis commented Jan 21, 2016

Great, i'll test it under my current application!

@nillis nillis closed this as completed Jan 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants