Closed nicojs closed 1 year ago
Importing ISupportCodeLibrary is not exported from '@cucumber/cucumber/api'
ISupportCodeLibrary
'@cucumber/cucumber/api'
// 💥 error import type { ISupportCodeLibrary } from '@cucumber/cucumber/api';
I would export it to be exported, since it's siblings are also exported:
// ✅ import type { ISupportCodeCoordinatesOrLibrary, ISourcesCoordinates } from '@cucumber/cucumber/api';
Current workaround I'm using:
type ISupportCodeLibrary = Exclude< ISupportCodeCoordinatesOrLibrary, ISourcesCoordinates >;
Released in https://github.com/cucumber/cucumber-js/releases/tag/v9.1.2
👓 What did you see?
Importing
ISupportCodeLibrary
is not exported from'@cucumber/cucumber/api'
✅ What did you expect to see?
I would export it to be exported, since it's siblings are also exported:
📚 Any additional context?
Current workaround I'm using: