Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The type ISupportCodeLibrary is not exported, but should be. #2283

Closed
nicojs opened this issue May 6, 2023 · 1 comment Β· Fixed by #2284
Closed

The type ISupportCodeLibrary is not exported, but should be. #2283

nicojs opened this issue May 6, 2023 · 1 comment Β· Fixed by #2284

Comments

@nicojs
Copy link
Contributor

nicojs commented May 6, 2023

πŸ‘“ What did you see?

Importing ISupportCodeLibrary is not exported from '@cucumber/cucumber/api'

 // πŸ’₯ error
import type { ISupportCodeLibrary } from '@cucumber/cucumber/api';

βœ… What did you expect to see?

I would export it to be exported, since it's siblings are also exported:

 // βœ… 
import type { ISupportCodeCoordinatesOrLibrary, ISourcesCoordinates } from '@cucumber/cucumber/api';

πŸ“š Any additional context?

Current workaround I'm using:

type ISupportCodeLibrary = Exclude<
  ISupportCodeCoordinatesOrLibrary,
  ISourcesCoordinates
>;
@davidjgoss
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants