Skip to content

Commit

Permalink
fix: fix typescript definitions (#119)
Browse files Browse the repository at this point in the history
* fix: fix typescript definitions

* fix: complete type definition

* Update index.d.ts

---------

Co-authored-by: Yosuke Ota <[email protected]>
  • Loading branch information
kagawagao and ota-meshi authored May 8, 2024
1 parent f087f23 commit 7ec7b4b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import type { Syntax } from 'postcss';
const postcssHtml: Syntax;
import type { Syntax } from "postcss";

type PostcssHtml = {
(options?: Record<string, any>): Syntax;
} & Syntax;

const postcssHtml: PostcssHtml;
export = postcssHtml;

0 comments on commit 7ec7b4b

Please sign in to comment.