@fullhuman/purgecss-from-jsx 5.0.0 → 6.0.0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as acorn from 'acorn';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Create function to extract selectors from jsx code
|
|
@@ -8,7 +8,7 @@ import * as acorn_2 from 'acorn';
|
|
|
8
8
|
*
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
declare function purgeFromJsx(options?:
|
|
11
|
+
declare function purgeFromJsx(options?: acorn.Options): (content: string) => string[];
|
|
12
12
|
export default purgeFromJsx;
|
|
13
13
|
|
|
14
14
|
export { }
|