forked from svrjs/svrjs
12 lines
No EOL
315 B
TypeScript
12 lines
No EOL
315 B
TypeScript
|
|
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; |