Assignment5_new/node_modules/es-to-primitive/es2015.d.ts

6 lines
208 B
TypeScript
Raw Normal View History

2025-01-07 05:14:59 +00:00
type primitive = null | undefined | string | symbol | number | boolean | bigint;
declare function ToPrimitive(input: unknown, hint?: StringConstructor | NumberConstructor): primitive;
export = ToPrimitive;