@types/type-check

  • Version 0.3.31
  • Published
  • 3.99 kB
  • No dependencies
  • MIT license

Install

npm i @types/type-check
yarn add @types/type-check
pnpm add @types/type-check

Overview

TypeScript definitions for type-check

Index

Variables

variable VERSION

const VERSION: string;

    Functions

    function parsedTypeCheck

    parsedTypeCheck: (
    parsedType: ParsedType,
    input: string,
    options?: Options
    ) => boolean;

      function parseType

      parseType: (type: string) => ParsedType;

        function typeCheck

        typeCheck: (type: string, input: unknown, options?: Options) => boolean;

          Interfaces

          interface CustomType

          interface CustomType {}

            property typeOf

            typeOf: string;

              property validate

              validate: (input: unknown) => boolean;

                interface CustomTypes

                interface CustomTypes {}

                  index signature

                  [typeName: string]: CustomType;

                    interface Options

                    interface Options {}

                      property customTypes

                      customTypes?: CustomTypes;

                        interface ParsedTypeData

                        interface ParsedTypeData {}

                          property type

                          type: string;

                            Type Aliases

                            type ParsedType

                            type ParsedType = [ParsedTypeData];

                              Package Files (1)

                              Dependencies (0)

                              No dependencies.

                              Dev Dependencies (0)

                              No dev dependencies.

                              Peer Dependencies (0)

                              No peer dependencies.

                              Badge

                              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/type-check.

                              • Markdown
                                [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/type-check)
                              • HTML
                                <a href="https://www.jsdocs.io/package/@types/type-check"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>