const playlistIdMatcher = /^([\d+])-/
- const addHandler = async segmentPath => {
+ const addHandler = async (segmentPath: string) => {
logger.debug('Live add handler of %s.', segmentPath, this.lTags())
const playlistId = basename(segmentPath).match(playlistIdMatcher)[0]