init
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export function quoteIdent(name: string): string {
|
||||
if (!/^[a-z_][a-z0-9_]*$/.test(name)) throw new Error("invalid identifier");
|
||||
return `\`${name}\``;
|
||||
}
|
||||
Reference in New Issue
Block a user