deleteTiddlers = tiddlers => {

  const keys = Object.keys(tiddlers);
  const storyList = $tw.wiki.getTiddlerList('$:/StoryList');

  for (let i = keys.length; i--;) {
    let tRef = getTiddlerRef(tiddlers[keys[i]]);
    if (!$tw.wiki.tiddlerExists(tiddlers[keys[i]])) {
      // this check is important!
      // see https://github.com/Jermolene/TiddlyWiki5/issues/1919
      continue;
    }

    const index = storyList.indexOf(tRef);
    if (index !== -1) { // tiddler is displayed in river
      storyList.splice(index, 1);
      setField('$:/StoryList', 'list', storyList);
    }

    // finally delete the tiddler;


    $tw.wiki.deleteTiddler(tRef);

  }

}
Pendant to tw native {@code addTiddlers()}.

Also removes tiddlers from the river.

@param {TiddlerCollection} tiddlers - A collection of tiddlers
to be removed.