convex
Version:
Client for the Convex Cloud
25 lines (22 loc) • 519 B
text/typescript
import { version } from "../../index.js";
export function header(oneLineDescription: string) {
return `/* eslint-disable */
/**
* ${oneLineDescription}
*
* THIS CODE IS AUTOMATICALLY GENERATED.
*
* Generated by convex@${version}.
* To regenerate, run \`npx convex codegen\`.
* @module
*/
`;
}
/**
* We generate JS files as .d.ts and .js so that they are usable by both
* JavaScript and TypeScript developers.
*/
export type GeneratedJsWithTypes = {
DTS: string;
JS?: string;
};