@types/mapbox__point-geometry 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mapbox__point-geometry/LICENSE
CHANGED
|
File without changes
|
mapbox__point-geometry/README.md
CHANGED
|
@@ -8,12 +8,6 @@ This package contains type definitions for @mapbox/point-geometry (https://githu
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__point-geometry.
|
|
9
9
|
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__point-geometry/index.d.ts)
|
|
10
10
|
````ts
|
|
11
|
-
// Type definitions for @mapbox/point-geometry 0.1
|
|
12
|
-
// Project: https://github.com/mapbox/point-geometry
|
|
13
|
-
// Definitions by: Mathieu Maes <https://github.com/webberig>
|
|
14
|
-
// Harel Mazor <https://github.com/HarelM>
|
|
15
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
16
|
-
|
|
17
11
|
declare class Point {
|
|
18
12
|
x: number;
|
|
19
13
|
y: number;
|
|
@@ -40,6 +34,7 @@ declare class Point {
|
|
|
40
34
|
perp(): Point;
|
|
41
35
|
_perp(): Point;
|
|
42
36
|
round(): Point;
|
|
37
|
+
_round(): Point;
|
|
43
38
|
mag(): number;
|
|
44
39
|
equals(other: Point): boolean;
|
|
45
40
|
dist(p: Point): number;
|
|
@@ -57,9 +52,8 @@ export = Point;
|
|
|
57
52
|
````
|
|
58
53
|
|
|
59
54
|
### Additional Details
|
|
60
|
-
* Last updated:
|
|
55
|
+
* Last updated: Wed, 18 Oct 2023 05:47:08 GMT
|
|
61
56
|
* Dependencies: none
|
|
62
|
-
* Global values: none
|
|
63
57
|
|
|
64
58
|
# Credits
|
|
65
59
|
These definitions were written by [Mathieu Maes](https://github.com/webberig), and [Harel Mazor](https://github.com/HarelM).
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
// Type definitions for @mapbox/point-geometry 0.1
|
|
2
|
-
// Project: https://github.com/mapbox/point-geometry
|
|
3
|
-
// Definitions by: Mathieu Maes <https://github.com/webberig>
|
|
4
|
-
// Harel Mazor <https://github.com/HarelM>
|
|
5
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
6
|
-
|
|
7
1
|
declare class Point {
|
|
8
2
|
x: number;
|
|
9
3
|
y: number;
|
|
@@ -30,6 +24,7 @@ declare class Point {
|
|
|
30
24
|
perp(): Point;
|
|
31
25
|
_perp(): Point;
|
|
32
26
|
round(): Point;
|
|
27
|
+
_round(): Point;
|
|
33
28
|
mag(): number;
|
|
34
29
|
equals(other: Point): boolean;
|
|
35
30
|
dist(p: Point): number;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/mapbox__point-geometry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "TypeScript definitions for @mapbox/point-geometry",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__point-geometry",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"contributors": [
|
|
8
8
|
{
|
|
9
9
|
"name": "Mathieu Maes",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"githubUsername": "webberig",
|
|
11
|
+
"url": "https://github.com/webberig"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"name": "Harel Mazor",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"githubUsername": "HarelM",
|
|
16
|
+
"url": "https://github.com/HarelM"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"main": "",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
},
|
|
26
26
|
"scripts": {},
|
|
27
27
|
"dependencies": {},
|
|
28
|
-
"typesPublisherContentHash": "
|
|
29
|
-
"typeScriptVersion": "
|
|
28
|
+
"typesPublisherContentHash": "af6f66c3d228c42ea89c6f2196b5784a3670a79b1de50cd9ca262faec167458d",
|
|
29
|
+
"typeScriptVersion": "4.5"
|
|
30
30
|
}
|