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

7.15.2 • 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

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: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: none

Credits

These definitions were written by fnknzzz.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 7.15.2
    24,304
  • 7.15.1
    11
  • 7.15.0
    269

Package Sidebar

Install

npm i @types/babel__helper-validator-identifier

Weekly Downloads

24,584

Version

7.15.2

License

MIT

Unpacked Size

3.83 kB

Total Files

5

Last publish

Collaborators

  • types