src/themes.js
/**
 * Convert items (fileName, fileExtensions) of source data to VS Code format.
 *
 * @param {Object} props Source properties
 */
Convert items (fileName, fileExtensions) of source data to VS Code format.
@param {Object} props Source properties
Convert items ( fileName fileExtensions ) of source data to VS Code format . @param { Object } props Source properties
function convertItems(props) {
	const newProps = {};
	for (const key in props) {
		for (const val of props[key]) {
			newProps[val] = prefix(key);
		}
	}
	return newProps;
}
function convertItems ( props ) { const newProps = { } ; for ( const key in props ) { for ( const val of props [ key ] ) { newProps [ val ] = prefix ( key ) ; } } return newProps ; }
Convert items (fileName, fileExtensions) of source data to VS Code format.
Convert items ( fileName fileExtensions ) of source data to VS Code format .