createDiagnosticCollection

external fun createDiagnosticCollection(name: String = definedExternally): DiagnosticCollection(source)

Create a diagnostics collection.

Parameters

name

The name of the collection.