Reference types
See original GitHub issueHi! I’m just trying to create bindings for PouchDB. So I went on DefinitelyTyped and there I found this:
/// <reference types="pouchdb-core" />
/// <reference types="pouchdb-adapter-idb" />
/// <reference types="pouchdb-adapter-websql" />
/// <reference types="pouchdb-adapter-http" />
/// <reference types="pouchdb-mapreduce" />
/// <reference types="pouchdb-replication" />
declare const PouchDb: PouchDB.Static;
export = PouchDb;
My question is simple: what’s the best strategy to create bindings from this kind of file? Download all files individually and feed them to ts2fable?
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Reference types - C# Reference
There are two kinds of types in C#: reference types and value types. Variables of reference types store references to their data (objects), ......
Read more >Value type and reference type
Value types are completely represented by their meaning, while reference types are references to another value.
Read more >Adding and Deleting Reference Types
To add a new reference type: 1. From the EndNote Edit menu, choose Preferences, select the Reference Type option in the list of...
Read more >Value Type and Reference Type
In other words, a reference type contains a pointer to another memory location that holds the data. For example, consider the following string...
Read more >4. Reference Types - Java 8 Pocket Guide [Book]
Reference types hold references to objects and provide a means to access ... There are two type categories in Java: reference types and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well, at least ts2fable allowed me to get all the types for the zounds options PouchDb has got. I just have to make my way through the Database object. So it’s ok. 😄
I just tried to make this more clear here: https://github.com/fable-compiler/ts2fable/issues/147