Skip to content

Conversation

oliverklee
Copy link
Collaborator

The classes implementing this interface use a wide variaty of inconsistent return types when they implement this method.

This is a hard blocker for introducing native return type declaration for this method.

@coveralls
Copy link

coveralls commented Mar 11, 2025

Coverage Status

coverage: 55.746%. remained the same
when pulling 2d6ead6 on task/remove-atruleargs
into 13f1ff5 on main.

@oliverklee oliverklee force-pushed the task/remove-atruleargs branch from d38a87f to 4f8c137 Compare March 11, 2025 23:22
The classes implementing this interface use a wide variaty
of inconsistent return types when they implement this method.

This is a hard blocker for introducing native return type
declaration for this method.
@oliverklee oliverklee force-pushed the task/remove-atruleargs branch from 4f8c137 to d40fa16 Compare March 12, 2025 08:10
Copy link
Collaborator

@JakeQZ JakeQZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't think of a better solution which doesn't involve a breaking change.

Most implementations return a string, but CSSNamespace and Import return an array of strings. Changing one or other to match would be a breaking change, since they are part of the public API.

@JakeQZ JakeQZ merged commit 898d5cd into main Mar 12, 2025
21 checks passed
@JakeQZ JakeQZ deleted the task/remove-atruleargs branch March 12, 2025 15:44
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 this pull request may close these issues.

3 participants