src/vs/editor/common/languages/supports/languageBracketsConfiguration.ts/ClosingBracketKind/closes
class ClosingBracketKind:	public closes(other: OpeningBracketKind): boolean {
		if (other.languageId === this.languageId) {
			if (other['config'] !== this.config) {
				throw new BugIndicatingError('Brackets from different language configuration cannot be used.');
			}
		}

		return this.closedBrackets.has(other);
	}