@types/es-abstract
Version:
TypeScript definitions for es-abstract
13 lines (10 loc) • 341 B
TypeScript
import type { PropertyDescriptor } from "../index";
declare function IsPropertyDescriptor(
ES: {
Type(O: unknown): string | undefined;
IsAccessorDescriptor(Desc: unknown): boolean;
IsDataDescriptor(Desc: unknown): boolean;
},
Desc: unknown,
): Desc is PropertyDescriptor;
export = IsPropertyDescriptor;