UNPKG

es-to-primitive

Version:

ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

12 lines (10 loc) 271 B
import ES5 from './es5'; import ES6 from './es6'; import ES2015 from './es2015'; declare const ToPrimitive: typeof ES2015 & { readonly ES5: typeof ES5; /** @deprecated */ readonly ES6: typeof ES6; readonly ES2015: typeof ES2015; }; export = ToPrimitive;