@kody/intercom
src/get-article.ts
11 lines · 357 B · TypeScriptimport { getArticle, parseGetArticle } from './articles.ts'
/**
* Get one Intercom article by id.
* @example
* import getArticle from 'kody:@kody/intercom/get-article'
* const article = await getArticle({ id })
*/
export default async function getArticleEntrypoint(params: Record<string, unknown> = {}) {
return getArticle(parseGetArticle(params))
}