function assertSupportedEvent()

in src/Diagnostic.ts [59:63]


function assertSupportedEvent (event: string): void {
  if (!supportedEvents.includes(event)) {
    throw new ConfigurationError(`The event '${event}' is not supported.`)
  }
}