@types/babel__helper-validator-identifier
    TypeScript icon, indicating that this package has built-in type declarations

    7.15.0 • Public • Published

    Installation

    npm install --save @types/babel__helper-validator-identifier

    Summary

    This package contains type definitions for @babel/helper-validator-identifier (https://github.com/babel/babel/tree/main/packages/babel-helper-validator-identifier).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__helper-validator-identifier.

    index.d.ts

    // Type definitions for @babel/helper-validator-identifier 7.15
    // Project: https://github.com/babel/babel/tree/main/packages/babel-helper-validator-identifier
    // Definitions by: fnknzzz <https://github.com/fnknzzz>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    export function isReservedWord(word: string, inModule: boolean): boolean;
    export function isStrictReservedWord(word: string, inModule: boolean): boolean;
    export function isStrictBindOnlyReservedWord(word: string): boolean;
    export function isStrictBindReservedWord(word: string, inModule: boolean): boolean;
    export function isKeyword(word: string): boolean;
    export function isIdentifierStart(code: number): boolean;
    export function isIdentifierChar(code: number): boolean;
    export function isIdentifierName(name: string): boolean;

    Additional Details

    • Last updated: Fri, 21 Jan 2022 03:31:27 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by fnknzzz.

    Keywords

    none

    Install

    npm i @types/babel__helper-validator-identifier

    DownloadsWeekly Downloads

    22,704

    Version

    7.15.0

    License

    MIT

    Unpacked Size

    4.42 kB

    Total Files

    4

    Last publish

    Collaborators

    • types