Files
SnowLuma/.pnpm-store/v11/files/9b/3cbabe2648aff812ce704f591bbda26d1dd5c4c2914c57e1642baf7694021e0733b7da499bbf577963fa33685b60c3302d7d7d8e001eaaf48e4a1cdd921334
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

9 lines
306 B
Plaintext

/**
* Determine if the given name is a legal variable name.
*
* This is needed when transforming TypeScript enums; if an enum key is a valid
* variable name, it might be referenced later in the enum, so we need to
* declare a variable.
*/
export default function isIdentifier(name: string): boolean;