Generate typings for version 4.0.15
See original GitHub issuedeclare module DropboxTypes { interface DropboxOptions { // An access token for making authenticated requests. accessToken?: string; // The client id for your app. Used to create authentication URL. clientId?: string; // Select user is only used by team endpoints. It specifies which user the team access token should be acting as. selectUser?: string; // Root path used to access namespaces different from home namespace (team folders etc) pathRoot?: string; // Fetch library for making requests. fetch?: Function }
‘pathRoot’ and ‘fetch’ parameters are in dropbox_types.d.tstemplate but not in dropbox_types.d.ts, need to generate types from templates otherwise newly added parameters aren’t usable in typescript
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top GitHub Comments
Works for me, fetch and pathRoot params are recognized in typescript now
@michellemv Thanks for the note! I’ll ask the team to work on that as well.