import React from 'dom-chef'; import select from 'select-dom'; import * as pageDetect from 'github-url-detection'; import features from '.'; function init(): void { for (const header of select.all('.js-notifications-group h6')) { header.append( {header.firstChild} , ); } } void features.add(import.meta.url, { include: [ pageDetect.isNotifications, ], exclude: [ pageDetect.isBlank, // Empty notification list ], init, });