Skip to content

Commit

Permalink
Fix #68
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-kinokon committed Nov 14, 2023
1 parent 3c0e7b5 commit 56f0831
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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[]

Expand Down Expand Up @@ -235,7 +235,7 @@ export class Component<P = {}, T extends Element = JSX.Element> {

export { Component as PureComponent }

type PropsWithChildren<P = unknown> = P & { children?: ReactNode | undefined }
export type PropsWithChildren<P = unknown> = P & { children?: ReactNode | undefined }

export type ComponentType<P = {}, T extends Element = JSX.Element> =
| ComponentClass<P, T>
Expand Down

0 comments on commit 56f0831

Please sign in to comment.