Skip to content

[🐛 Bug]: Broken types in @wdio/global/types #9639

@kyrylodolynskyi

Description

@kyrylodolynskyi

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

8.2.0

Node.js Version

latest

Mode

Standalone Mode

Which capabilities are you using?

No response

What happened?

I am getting an error trying to build my setup with typescript

node_modules/@wdio/globals/types.d.ts:1:42 - error TS2694: Namespace '"/Users/kyrylo/project/node_modules/webdriverio/build/index"' has no exported member 'Browser'.

1 type BrowserType = import('webdriverio').Browser

What is your expected behavior?

No response

How to reproduce the bug.

Simply typescript project with wdio

Relevant log output

-

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions