JSPM

@types/any-base

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3105
  • Score
    100M100P100Q113945F
  • License MIT

TypeScript definitions for any-base

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/any-base) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Installation

    npm install --save @types/any-base

    Summary

    This package contains type definitions for any-base (https://github.com/HarasimowiczKamil/any-base#readme).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/any-base.

    index.d.ts

    // Type definitions for any-base 1.1
    // Project: https://github.com/HarasimowiczKamil/any-base#readme
    // Definitions by: yutak23 <https://github.com/yutak23>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    export = anyBase;
    export as namespace anyBase;
    
    declare const anyBase: AnyBase;
    
    interface AnyBase {
        BIN: '01';
        OCT: '01234567';
        DEC: '0123456789';
        HEX: '0123456789abcdef';
        (srcAlphabet: string, dstAlphabet: string): anyBase.Converter;
    }
    
    declare namespace anyBase {
        interface Converter {
            (number: string): string;
        }
    }
    

    Additional Details

    • Last updated: Fri, 01 Sep 2023 13:33:03 GMT
    • Dependencies: none
    • Global values: anyBase

    Credits

    These definitions were written by yutak23.