10 lines
326 B
Plaintext
10 lines
326 B
Plaintext
import extractValueFromTemplateLiteral from './TemplateLiteral';
|
|
|
|
/**
|
|
* Returns the string value of a tagged template literal object.
|
|
* Redirects the bulk of the work to `TemplateLiteral`.
|
|
*/
|
|
export default function extractValueFromTaggedTemplateExpression(value) {
|
|
return extractValueFromTemplateLiteral(value.quasi);
|
|
}
|