Export more things for the extension API (#7088)

* Export more things for the extension API

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Provide more insight into the dist-tag computation

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix type errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>

---------

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2023-02-02 08:28:56 -05:00
1 parent 7a57a89194
commit 6d2efb99e7
9 files changed
+68 -75

No files matched your search

+1 -3
View File
@@ -6,9 +6,7 @@
import { iter } from "../../common/utils";
export type IgnoredClassNames = number | symbol | Function;
export type IClassName = string | string[] | IClassNameMap | undefined | null | false | IgnoredClassNames;
export type IClassNameMap = object;
export type IClassName = string | string[] | Record<string, any> | undefined | null | false | IgnoredClassNames;
export function cssNames(...classNames: IClassName[]): string {
const classNamesEnabled = new Map<string, boolean>();