Files
memecoin-botV2/.pnpm-store/v10/files/0e/9a4f26f18742cb006578ad760a0ae6b0da5da02a479e27779e733ea2af72a573c8fc9ca350724988549b19d0db1b992025a7f00e8e48fb802edb683894c880

12 lines
559 B
Plaintext

import type { TSESTree } from '@typescript-eslint/utils';
/**
* Returns the result of the string conversion applied to the evaluated value of the given expression node,
* if it can be determined statically.
*
* This function returns a `string` value for all `Literal` nodes and simple `TemplateLiteral` nodes only.
* In all other cases, this function returns `null`.
* @param node Expression node.
* @returns String value if it can be determined. Otherwise, `null`.
*/
export declare function getStaticStringValue(node: TSESTree.Node): string | null;