securityos/node_modules/define-data-property/index.d.ts

12 lines
315 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
declare function defineDataProperty(
obj: Record<PropertyKey, unknown>,
property: keyof typeof obj,
value: typeof obj[typeof property],
nonEnumerable?: boolean | null,
nonWritable?: boolean | null,
nonConfigurable?: boolean | null,
loose?: boolean
): void;
export = defineDataProperty;