array-find-index/000755 001751 000177 0000000000 14522265600015700 5ustar00runner000000 000000 1452226560014522265600array-find-index/LICENSE000644 001751 000177 0000002165 14522265600016711 0ustar00runner000000 000000 1452226560014522265600 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE array-find-index/README.md000644 001751 000177 0000001654 14522265600017166 0ustar00runner000000 000000 1452227245014522265600# Installation > `npm install --save @types/array-find-index` # Summary This package contains type definitions for array-find-index (https://github.com/sindresorhus/array-find-index). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-find-index. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-find-index/index.d.ts) ````ts declare function arrayFindIndex(arr: T[], predicate: (element: T, index: number, array: T[]) => boolean): number; declare function arrayFindIndex( arr: T[], predicate: (this: U, element: T, index: number, array: T[]) => boolean, ctx: U, ): number; export = arrayFindIndex; ```` ### Additional Details * Last updated: Mon, 06 Nov 2023 22:41:04 GMT * Dependencies: none # Credits These definitions were written by [Sam Verschueren](https://github.com/samverschueren). array-find-index/index.d.ts000644 001751 000177 0000000446 14522265600017605 0ustar00runner000000 000000 1452226560014522265600declare function arrayFindIndex(arr: T[], predicate: (element: T, index: number, array: T[]) => boolean): number; declare function arrayFindIndex( arr: T[], predicate: (this: U, element: T, index: number, array: T[]) => boolean, ctx: U, ): number; export = arrayFindIndex; array-find-index/package.json000644 001751 000177 0000001505 14522265600020170 0ustar00runner000000 000000 1452227245014522265600{ "name": "@types/array-find-index", "version": "1.0.3", "description": "TypeScript definitions for array-find-index", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-find-index", "license": "MIT", "contributors": [ { "name": "Sam Verschueren", "githubUsername": "samverschueren", "url": "https://github.com/samverschueren" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/array-find-index" }, "scripts": {}, "dependencies": {}, "typesPublisherContentHash": "2f14af57788b4dda5a90829349a94d59c7eb1bbddcd0afacd844d53442ec554a", "typeScriptVersion": "4.5" }