From 56f0831ea950909a0dbd1cb74b837daa924e457d Mon Sep 17 00:00:00 2001 From: Alex <8125011+alex-kinokon@users.noreply.github.com> Date: Tue, 14 Nov 2023 01:28:16 -0500 Subject: [PATCH] Fix #68 --- types/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 38d92d3..26489e0 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -9,7 +9,7 @@ import type * as CSS from "csstype" export * from "./extra" export { styled } from "./styled" -type Booleanish = boolean | "true" | "false" +export type Booleanish = boolean | "true" | "false" type CrossOrigin = "anonymous" | "use-credentials" | "" | undefined export function className(value: ClassNames): string @@ -34,7 +34,7 @@ declare const __defaultExport: { } export default __defaultExport -type Key = string | number | bigint +export type Key = string | number | bigint type ClassName = string | { [key: string]: boolean } | false | null | undefined | ClassName[] @@ -235,7 +235,7 @@ export class Component
{ export { Component as PureComponent } -type PropsWithChildren
= P & { children?: ReactNode | undefined } +export type PropsWithChildren
= P & { children?: ReactNode | undefined } export type ComponentType
= | ComponentClass