Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
12 lines
559 B
Plaintext
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;
|