import type { CollectionSlug } from "payload"; import type { CollectionConfig } from "./types"; /** * Creates a typed collection config. * * @param config - The configuration for the collection. * @returns A collection config with the specified slug and provided configuration. */ export const createTypedCollectionConfig = ( config: Omit, "slug"> & { slug: TSlug; }, ): CollectionConfig => { return config; };