chore: remove content-types. Too early!

This commit is contained in:
bholmesdev 2023-02-10 09:18:27 -05:00
parent 92393398b7
commit be672248b5
3 changed files with 1 additions and 21 deletions

View file

@ -1,19 +0,0 @@
declare module 'astro:content' {
type ComponentRenderer =
| JSX.Element
| {
component: JSX.Element;
props?(params: {
attributes: Record<string, any>;
getTreeNode(): import('@markdoc/markdoc').Tag;
}): Record<string, any>;
};
interface Render {
'.mdoc': {
Content(props: {
components: Record<string, ComponentRenderer>;
config: import('@markdoc/markdoc').Config;
}): Promise<JSX.Element>;
};
}
}

View file

@ -21,7 +21,6 @@
"exports": {
".": "./dist/index.js",
"./components": "./components/index.ts",
"./content-types": "./content-types.d.ts",
"./package.json": "./package.json"
},
"scripts": {

View file

@ -1,6 +1,6 @@
{
"extends": "../../../tsconfig.base.json",
"include": ["src", "content-types.d.ts"],
"include": ["src"],
"compilerOptions": {
"allowJs": true,
"module": "ES2020",