src/vs/editor/common/languages/supports/languageBracketsConfiguration.ts/filterValidBrackets
function filterValidBrackets(bracketPairs: [string, string][]): [string, string][] {
	return bracketPairs.filter(([open, close]) => open !== '' && close !== '');
}