Skip to content

Commit

Permalink
fix: make dynamic CSS object optional
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich authored Nov 25, 2023
1 parent 1795b55 commit 5282c01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/drule.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {CssLikeObject, TDynamicCss} from '../types/common';
import {CssLikeObject} from '../types/common';
import {NanoRenderer} from '../types/nano';

export interface DruleAddon {
drule: (css: CssLikeObject, block?: string) => TDynamicCss;
drule: (css: CssLikeObject, block?: string) => (css?: CssLikeObject) => string;
}

export function addon(nano: NanoRenderer);

0 comments on commit 5282c01

Please sign in to comment.