sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
19 lines (16 loc) • 314 B
text/typescript
import {type Config} from './types'
/**
* @hidden
* @beta */
export function defineConfig<T extends Config>(config: T): T {
return config
}
/**
* @deprecated Use `defineConfig` instead
*
* @hidden
* @beta
*/
export function createConfig<T extends Config>(config: T): T {
return defineConfig(config)
}