@unocss/preset-typography 0.50.1 → 0.50.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +3 -2
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { CSSObject, Preset } from '@unocss/core';
2
+ import { Theme } from '@unocss/preset-mini';
2
3
 
3
4
  /** @public */
4
5
  interface TypographyCompatibilityOptions {
@@ -59,6 +60,6 @@ interface TypographyOptions {
59
60
  * @returns typography preset
60
61
  * @public
61
62
  */
62
- declare function presetTypography(options?: TypographyOptions): Preset;
63
+ declare function presetTypography(options?: TypographyOptions): Preset<Theme>;
63
64
 
64
65
  export { TypographyOptions, presetTypography as default, presetTypography };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-typography",
3
- "version": "0.50.1",
3
+ "version": "0.50.2",
4
4
  "description": "Typography preset for UnoCSS",
5
5
  "author": "Jeff Yang",
6
6
  "license": "MIT",
@@ -32,7 +32,8 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@unocss/core": "0.50.1"
35
+ "@unocss/core": "0.50.2",
36
+ "@unocss/preset-mini": "0.50.2"
36
37
  },
37
38
  "scripts": {
38
39
  "build": "unbuild",