Skip to content

Commit 5f01b4e

Browse files
authored
Add TypeScript type definitions (#47)
This way the project can be consumed in TypeScript projects.
1 parent fe99f17 commit 5f01b4e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎lib/safe-parse.d.ts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import type { Parser } from 'postcss'
2+
3+
/**
4+
* A fault-tolerant CSS parser for [PostCSS], which will find & fix syntax
5+
* errors, capable of parsing any input.
6+
*/
7+
declare const safe: Parser
8+
9+
export = safe

0 commit comments

Comments
 (0)