feat: return selector node representing wildcard selector with highest degree penalty 3

This commit is contained in:
karishmas6
2024-06-05 23:24:38 +05:30
parent 161af107ec
commit e752166343

View File

@@ -354,9 +354,15 @@ export const getSelectors = async (page: Page, coordinates: Coordinates) => {
return null;
}
function any(): Node {
return {
name: '*',
penalty: 3,
};
}
};