1.0.3 • Published 8 months ago

@rtkcd/types v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

Types for fast coding with React

Create .d.ts file in src folder and import types

/// <reference types="@rtkcd/types/global" />

Types:

type FC<T = {}> = FunctionComponent<T & ChildrenType>
type Nullable<T> = T | null | undefined
type Callback<Value = void | unknown, ReturnType = void> = (
  value: Value
) => ReturnType
type UnknownCallback = (...args: any[]) => any
1.0.3

8 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

10 months ago