From 5282c01c187579747c1ce576d9b7ec135098d909 Mon Sep 17 00:00:00 2001 From: Vadims Daleckis Date: Sun, 26 Nov 2023 00:05:28 +0100 Subject: [PATCH] fix: make dynamic CSS object optional --- addon/drule.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/drule.d.ts b/addon/drule.d.ts index beb7df68..ef4fde85 100644 --- a/addon/drule.d.ts +++ b/addon/drule.d.ts @@ -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);