Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 82398c3

Browse files
committed
fix(root.ts): There was an omission in the type definition and it was corrected.
1 parent b1fa1f1 commit 82398c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/method/root.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import type { CustomCSSProperties } from '../../_internal';
1+
import type { ExtendedCSSProperties } from '../../_internal';
22
import { isInDevelopment, injectCSSGlobal, styleCompiler } from '../../_internal';
33
import { resolveGlobalStyleSheet, globalStyleSheetPromise, createGlobalStyleSheetPromise } from './root-build-in-helper';
44

5-
export function root(object: CustomCSSProperties): void {
5+
export function root(object: ExtendedCSSProperties): void {
66
const { styleSheet } = styleCompiler(object, undefined, '--root');
77
if (typeof globalStyleSheetPromise === 'undefined') createGlobalStyleSheetPromise();
88
resolveGlobalStyleSheet([styleSheet, '--global']);

0 commit comments

Comments
 (0)