epiphany/node_modules/stylelint/lib/utils/getDeclarationValue.js
2023-12-09 22:48:07 -08:00

11 lines
228 B
JavaScript

'use strict';
/**
* @param {import('postcss').Declaration} decl
* @returns {string}
*/
module.exports = function getDeclarationValue(decl) {
const raws = decl.raws;
return (raws.value && raws.value.raw) || decl.value;
};