In the type HeadOptions is missing parameter title . HeadOptions
backend/routers.js
import { ok } from 'wix-router';
export function category_Router(request) {
return ok('category', data, { title: 'Category' });
}
error:
Argument of type '{ title: string; }' is not assignable to parameter of type 'HeadOptions'.
Type '{ title: string; }' is missing the following properties from type 'HeadOptions': description, keywords, noIndex, metaTags ts(2345)
In the type
HeadOptions
is missing parametertitle
. HeadOptionsbackend/routers.js
error:
I'm using