7.15.2 • Published 6 months ago
@types/babel__helper-validator-identifier v7.15.2
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.