first commit

This commit is contained in:
2026-09-08 20:28:54 +08:00
commit 2ada8d3d5a
37380 changed files with 4886169 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { Next } from "./types";
/**
* Quote a string.
*/
export declare function quoteString(str: string): string;
/**
* Test for valid JavaScript identifier.
*/
export declare const IS_VALID_IDENTIFIER: RegExp;
/**
* Check if a variable name is valid.
*/
export declare function isValidVariableName(name: PropertyKey): name is string;
/**
* Quote JavaScript key access.
*/
export declare function quoteKey(key: PropertyKey, next: Next): string | undefined;
/**
* Serialize the path to a string.
*/
export declare function stringifyPath(path: PropertyKey[], next: Next): string;