@typespec/http-server-js
Version:
TypeSpec HTTP server code generator for JavaScript
10 lines • 347 B
TypeScript
/**
* A set of reserved keywords that should not be used as identifiers.
*/
export declare const KEYWORDS: Set<string>;
/**
* Makes a name safe to use as an identifier by prefixing it with an underscore
* if it would conflict with a keyword.
*/
export declare function keywordSafe(name: string): string;
//# sourceMappingURL=keywords.d.ts.map