{"_id":"@types/array-sort","_rev":"3016246","name":"@types/array-sort","description":"TypeScript definitions for array-sort","dist-tags":{"latest":"1.0.1","ts2.0":"1.0.0","ts2.1":"1.0.0","ts2.2":"1.0.0","ts2.3":"1.0.0","ts2.4":"1.0.0","ts2.5":"1.0.0","ts2.6":"1.0.0","ts2.7":"1.0.0","ts2.8":"1.0.0","ts2.9":"1.0.0","ts3.0":"1.0.0","ts3.1":"1.0.0","ts3.2":"1.0.0","ts3.3":"1.0.0","ts3.4":"1.0.0","ts3.5":"1.0.0","ts3.6":"1.0.0","ts3.7":"1.0.0","ts3.8":"1.0.0","ts3.9":"1.0.0","ts4.0":"1.0.0","ts4.1":"1.0.0","ts4.2":"1.0.0","ts4.3":"1.0.0","ts4.4":"1.0.0","ts4.5":"1.0.1","ts4.6":"1.0.1","ts4.7":"1.0.1","ts4.8":"1.0.1","ts4.9":"1.0.1","ts5.0":"1.0.1","ts5.1":"1.0.1","ts5.2":"1.0.1","ts5.3":"1.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-10-17T06:04:05.000Z","created":"2018-07-26T23:47:30.683Z","1.0.1":"2023-09-22T20:03:09.339Z","1.0.0":"2018-07-26T23:47:30.683Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/array-sort"},"versions":{"1.0.1":{"name":"@types/array-sort","version":"1.0.1","description":"TypeScript definitions for array-sort","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-sort","license":"MIT","contributors":[{"name":"Daniel Schmidt","url":"https://github.com/DanielMSchmidt","githubUsername":"DanielMSchmidt"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/array-sort"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"6e2c378af6f1957939c9a9b5957738f9497b601c2f87e05aba04a158705177d2","typeScriptVersion":"4.5","_id":"@types/array-sort@1.0.1","dist":{"shasum":"41b71f68d6caea0c3a6485392c3f842345cd9583","size":1738,"noattachment":false,"key":"/@types/array-sort/-/@types/array-sort-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/array-sort/download/@types/array-sort-1.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array-sort_1.0.1_1695412989189_0.14025473709756175"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-22T20:03:09.339Z","publish_time":1695412989339,"_source_registry_name":"default","_cnpm_publish_time":1695412989339},"1.0.0":{"name":"@types/array-sort","version":"1.0.0","description":"TypeScript definitions for array-sort","license":"MIT","contributors":[{"name":"Daniel Schmidt","url":"https://github.com/DanielMSchmidt","githubUsername":"DanielMSchmidt"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"b3db35ed8c8206ca63fa11226f353f6e9dbba5b21fd0a7132bc121d18c604df4","typeScriptVersion":"2.0","_id":"@types/array-sort@1.0.0","dist":{"shasum":"08e85fd7c94616b01da7d4d6eff8f02d29f6edf4","size":1612,"noattachment":false,"key":"/@types/array-sort/-/@types/array-sort-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/array-sort/download/@types/array-sort-1.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/array-sort_1.0.0_1532648850611_0.6363439616513467"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T08:47:21.993Z","publish_time":1532648850683,"_cnpm_publish_time":1532648850683}},"readme":"# Installation\r\n> `npm install --save @types/array-sort`\r\n\r\n# Summary\r\nThis package contains type definitions for array-sort (https://github.com/jonschlinkert/array-sort).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-sort.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-sort/index.d.ts)\r\n````ts\r\n// Type definitions for array-sort 1.0\n// Project: https://github.com/jonschlinkert/array-sort\n// Definitions by: Daniel Schmidt <https://github.com/DanielMSchmidt>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\ntype Comparator<T> = (a: T, b: T) => number;\ntype ComparisonArg<T> = string | Comparator<T>;\ntype ComparisonArgs<T> = ComparisonArg<T> | Array<ComparisonArg<T>>;\n\ninterface Options {\n    readonly reverse: boolean;\n}\n\ndeclare function arraySort<T>(\n    arr: T[],\n    props?: ComparisonArgs<T>,\n    options?: Options,\n): T[];\n\nexport default arraySort;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 22 Sep 2023 18:11:04 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Daniel Schmidt](https://github.com/DanielMSchmidt).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-sort","license":"MIT"}