File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1-
21export type CssIfPolyfillOptions = {
3- debug ?: boolean ;
4- autoInit ?: boolean ;
2+ debug ?: boolean ;
3+ autoInit ?: boolean ;
54} ;
65
76// Named function exports (modern functional API)
87export declare function init ( options ?: CssIfPolyfillOptions ) : void ;
98// eslint-disable-next-line @typescript-eslint/naming-convention
10- export declare function processCSSText ( cssText : string , options ?: CssIfPolyfillOptions ) : string ;
9+ export declare function processCSSText (
10+ cssText : string ,
11+ options ?: CssIfPolyfillOptions ,
12+ element ?: HTMLElement
13+ ) : string ;
1114export declare function hasNativeSupport ( ) : boolean ;
1215export declare function refresh ( ) : void ;
16+ export declare function cleanupMediaQueryListeners ( ) : void ;
1317
1418// CSSIfPolyfill object type for default export
1519
1620export type CssIfPolyfillObject = {
17- init : typeof init ;
18- processCSSText : typeof processCSSText ;
19- hasNativeSupport : typeof hasNativeSupport ;
20- refresh : typeof refresh ;
21+ init : typeof init ;
22+ processCSSText : typeof processCSSText ;
23+ hasNativeSupport : typeof hasNativeSupport ;
24+ refresh : typeof refresh ;
25+ cleanup : typeof cleanupMediaQueryListeners ;
2126} ;
2227
2328// Default export - object containing all functions for backward compatibility
You can’t perform that action at this time.
0 commit comments