chore: remove content-types. Too early!
This commit is contained in:
parent
92393398b7
commit
be672248b5
3 changed files with 1 additions and 21 deletions
19
packages/integrations/markdoc/content-types.d.ts
vendored
19
packages/integrations/markdoc/content-types.d.ts
vendored
|
@ -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>;
|
||||
};
|
||||
}
|
||||
}
|
|
@ -21,7 +21,6 @@
|
|||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./components": "./components/index.ts",
|
||||
"./content-types": "./content-types.d.ts",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"include": ["src", "content-types.d.ts"],
|
||||
"include": ["src"],
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"module": "ES2020",
|
||||
|
|
Loading…
Reference in a new issue