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

Commit 684dcf7

Browse files
committed
perf(classes-object-type.ts): new ExactClassesObjectType is change and moved here
1 parent 1d82cdc commit 684dcf7

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/_internal/types/custom/classes-object-type.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ import type { CustomCSSProperties } from './custom-css-properties';
33
export type ClassesObjectType = {
44
[className: string]: CustomCSSProperties;
55
};
6+
7+
export type ExactClassesObjectType<T extends Record<string, CustomCSSProperties>> = T;

src/_internal/types/custom/exact-classes-object-type.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/_internal/types/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ export * from './common/pseudo-selectors';
77
export * from './custom/classes-object-type';
88
export * from './custom/custom-css-properties';
99
export * from './custom/custom-html-type';
10-
export * from './custom/exact-classes-object-type';
1110
export * from './custom/property-type';
1211
export * from './custom/return-style-type';

0 commit comments

Comments
 (0)