Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Please support typings split over multiple d.ts files #73

Open
weenzeel opened this issue Dec 4, 2019 · 2 comments
Open

Please support typings split over multiple d.ts files #73

weenzeel opened this issue Dec 4, 2019 · 2 comments

Comments

@weenzeel
Copy link

weenzeel commented Dec 4, 2019

Hello!

I think this could be a wonderful tool to make Dart a better option for web development.

I wanted to crete typings for the javascript version of the processing creative library.
And used the typings from here ...

https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/p5

The typings main file relates to a list of referenced typings in different files. But only a typing for the main file is generated when js facade is run.

How to generate Dart facades for the entire library? Can this process be made simpler? Or some documentation written on how to do it?

Thanks!

@derekxu16
Copy link
Contributor

At the moment you'll need to specify all the filenames as command line arguments. See #58 (comment) for an example. This process will be made simpler in the future, but right now we're focused on doing a rewrite of this tool so there won't be any new features just yet.

@weenzeel
Copy link
Author

weenzeel commented Dec 4, 2019

Ok, thanks for the info. Then I at lest know how to try to do it.

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

No branches or pull requests

2 participants