@bob-translate/types
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@bob-translate/types

Type definitions for Bob translate.

Installation

npm install --save-dev @bob-translate/types

TypeScript Configuration

To ensure TypeScript correctly recognizes the types from @bob-translate/types, you may need to add it to your tsconfig.json:

{
  "compilerOptions": {
    "types": ["@bob-translate/types"]
  }
}

This step is necessary if TypeScript doesn’t automatically include the types from this package.

Usage

// main.ts
import { PluginValidate } from '@bob-translate/types';

const pluginValidate: PluginValidate = (completion) => {
  // do something
}

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @bob-translate/types

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    20.3 kB

    Total Files

    20

    Last publish

    Collaborators

    • libyo