Skip to content

Commit

Permalink
chore: export fetch tag config types
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Jul 25, 2024
1 parent 0acd06b commit b7e3a64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions types/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import type WidowWordsConfig from './widowWords';
import type { CoreBeautifyOptions } from 'js-beautify';
import type { BaseURLConfig } from 'posthtml-base-url';
import type URLParametersConfig from './urlParameters';
import type { PostHTMLFetchConfig } from 'posthtml-fetch';
import type { PostHTMLComponents } from 'posthtml-component';

import type { Config as TailwindConfig } from 'tailwindcss';
Expand Down Expand Up @@ -169,6 +170,11 @@ export default interface Config {
tailwind?: TailwindConfig;
}

/**
* Configure the [`<fetch>`](https://maizzle.com/docs/tags#fetch) tag.
*/
fetch?: PostHTMLFetchConfig;

/**
* Transform text inside elements marked with custom attributes.
* Filters work only on elements that contain only text.
Expand Down

0 comments on commit b7e3a64

Please sign in to comment.