typing info not available to extensions by default
See original GitHub issueI noticed that if an extension has Appium as a dev dep (as it should), the typing information is incomplete. Specifically, @appium/types
is not also a dev dep of the extension–and even if it is–the definition of Driver
is incomplete due to a missing type-fest
dependency.
In practice, something like this does not elicit type information about BaseDriver
:
import {BaseDriver} from 'appium/driver';
export class MyDriver extends BaseDriver {
// ...
}
Probably makes sense to add @appium/types
as a prod dep of appium
, and a few external typing modules as prod deps of @appium/types
(type-fest
, @types/express
, @types/npmlog
, etc.).
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
How to set the default program for opening files without an ...
With the command line: assoc .="No_Extension" ftype "No_Extension"="C:\path\to\my editor.exe" "%1". Restart the computer for the changes to take effect.
Read more >Change Extensions settings in Safari on Mac - Apple Support
In the Safari app on your Mac, use Extensions settings to change how you use extensions installed on your Mac. To change these...
Read more >Reset Chrome settings to default - Google Support
On your computer, open Chrome. · At the top right, click More More and then Settings. On Chromebook, Linux and Mac: Click Reset...
Read more >typing-extensions - PyPI
TypedDict does not store runtime information about which (if any) keys are non-required in Python 3.8, and does not honor the total keyword...
Read more >Common file name extensions in Windows - Microsoft Support
For example, the docx extension tells your computer that Microsoft Word can open the file and to display a Word icon when you...
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
I think we can leave them as they are. but npm 6 won’t be supported for a dev env.
closed via f384d5360d446b30211757d5d5552c534071e14e