Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const articleCollectionQuery = (options: ArticleCollectionQueryOpts) =>
t.intersection([
createQuery(options),
t.type({
tags: t.union([t.string, t.array(t.string), t.undefined]),
}),
]);