@types/rbush
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -1,9 +0,11 @@ | ||
export interface BBox { | ||
minX: number; | ||
minY: number; | ||
maxX: number; | ||
maxY: number; | ||
declare namespace RBush { | ||
interface BBox { | ||
minX: number; | ||
minY: number; | ||
maxX: number; | ||
maxY: number; | ||
} | ||
} | ||
export default class RBush<T> { | ||
declare class RBush<T> { | ||
/** | ||
@@ -72,3 +74,3 @@ * Constructs an `RBush`, a high-performance 2D spatial index for points and | ||
*/ | ||
search(box: BBox): T[]; | ||
search(box: RBush.BBox): T[]; | ||
@@ -86,3 +88,3 @@ /** | ||
*/ | ||
collides(box: BBox): boolean; | ||
collides(box: RBush.BBox): boolean; | ||
@@ -108,3 +110,3 @@ /** | ||
*/ | ||
toBBox(item: T): BBox; | ||
toBBox(item: T): RBush.BBox; | ||
@@ -188,1 +190,3 @@ /** | ||
} | ||
export = RBush; |
{ | ||
"name": "@types/rbush", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "TypeScript definitions for rbush", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rbush", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "0dda27107fa0a9b9489b1595e0f0a6f23890921bb97cc9e82a6275b750c2477c", | ||
"typeScriptVersion": "4.5" | ||
"typesPublisherContentHash": "fc80def3bc1d9260b66290f3b11e0e11feeda47e77f779972a657120647bc2d6", | ||
"typeScriptVersion": "4.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Last updated: Mon, 19 Aug 2024 20:35:51 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9247
174