cucumber / cucumber-electron

Run cucumber.js in electron
MIT License
118 stars 22 forks source link

Allow using AppElements as a type #70

Closed aslakhellesoy closed 3 years ago

aslakhellesoy commented 3 years ago

Description

Using AppElements as a type in a function parameter gives the error TS2749: 'AppElements' refers to a value, but is being used as a type here. Did you mean 'typeof AppElements'?

Motivation & context

I want to use it as a type

Type of change

Note to other contributors

Follow the pattern in src/renderer/api/index.js if new classes and types are added to the API

Checklist: