@merry marlin src/pages/dichotomies/[slug].astro:19:38 - error ts(2339): Property 'data' does not exist on type 'never'.
19 const { title, description } = entry.data;
~~~~
src/pages/dichotomies/[slug].astro:10:21 - error ts(2769): No overload matches this call.
Overload 1 of 4, '(collection: never, slug: string & {}): Promise<undefined>', gave the following error.
Overload 2 of 4, '(collection: "dichotomies", id: string | (string & {})): Promise<{ id: string; body?: string | undefined; collection: "dichotomies"; data: { title: string; description: string; code?: string | undefined; }; rendered?: RenderedContent | undefined; filePath?: string | undefined; }> | undefined', gave the following error.
10 const entry = await getEntry("dichotomies", slug);
~~~~~~~~
src/pages/functions/[slug].astro:19:38 - error ts(2339): Property 'data' does not exist on type 'never'.
19 const { title, description } = entry.data;
~~~~
src/pages/functions/[slug].astro:10:21 - error ts(2769): No overload matches this call.
Overload 1 of 4, '(collection: never, slug: string & {}): Promise<undefined>', gave the following error.
Overload 2 of 4, '(collection: "functions", id: string | (string & {})): Promise<{ id: string; body?: string | undefined; collection: "functions"; data: { title: string; description: string; code?: string | undefined; }; rendered?: RenderedContent | undefined; filePath?: string | undefined; }> | undefined', gave the following error.
10 const entry = await getEntry("functions", slug);
~~~~~~~~
src/pages/neurosocionics/[slug].astro:19:38 - error ts(2339): Property 'data' does not exist on type 'never'.
19 const { title, description } = entry.data;
~~~~
src/pages/neurosocionics/[slug].astro:10:21 - error ts(2769): No overload matches this call.
Overload 1 of 4, '(collection: never, slug: string & {}): Promise<undefined>', gave the following error.
Overload 2 of 4, '(collection: "neurosocionics", id: string | (string & {})): Promise<{ id: string; body?: string | undefined; collection: "neurosocionics"; data: { title: string; description: string; code?: string | undefined; }; rendered?: RenderedContent | undefined; filePath?: string | undefined; }> | undefined', gave the following error.
10 const entry = await getEntry("neurosocionics", slug);
~~~~~~~~
src/pages/types/[slug].astro:19:38 - error ts(2339): Property 'data' does not exist on type 'never'.
19 const { title, description } = entry.data;
~~~~
src/pages/types/[slug].astro:10:21 - error ts(2769): No overload matches this call.
Overload 1 of 4, '(collection: never, slug: string & {}): Promise<undefined>', gave the following error.
Overload 2 of 4, '(collection: "types", id: string | (string & {})): Promise<{ id: string; body?: string | undefined; collection: "types"; data: { title: string; description: string; code?: string | undefined; }; rendered?: RenderedContent | undefined; filePath?: string | undefined; }> | undefined', gave the following error.
10 const entry = await getEntry("types", slug);
~~~~~~~~
Result (44 files):
- 11 errors
- 0 warnings
- 2 hints