@types/babar 0.2.0 → 0.2.2

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.
Files changed (3) hide show
  1. babar/README.md +28 -1
  2. babar/index.d.ts +12 -12
  3. babar/package.json +4 -3
babar/README.md CHANGED
@@ -6,9 +6,36 @@ This package contains type definitions for babar (https://github.com/stephan83/b
6
6
 
7
7
  # Details
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babar.
9
+ ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babar/index.d.ts)
10
+ ````ts
11
+ // Type definitions for babar 0.2
12
+ // Project: https://github.com/stephan83/babar#readme
13
+ // Definitions by: Matt Bachmann <https://github.com/Bachmann1234>
14
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15
+
16
+ type color = "yellow" | "cyan" | "white" | "magenta" | "green" | "red" | "grey" | "blue";
17
+
18
+ interface Options {
19
+ caption?: string | undefined;
20
+ color?: color | "ascii" | undefined;
21
+ grid?: color | undefined;
22
+ width?: number | undefined;
23
+ height?: number | undefined;
24
+ xFractions?: number | undefined;
25
+ yFractions?: number | undefined;
26
+ minX?: number | undefined;
27
+ maxX?: number | undefined;
28
+ minY?: number | undefined;
29
+ maxY?: number | undefined;
30
+ }
31
+ declare function babar(points: ReadonlyArray<[number, number]>, options?: Options): string;
32
+
33
+ export = babar;
34
+
35
+ ````
9
36
 
10
37
  ### Additional Details
11
- * Last updated: Wed, 09 Dec 2020 18:09:08 GMT
38
+ * Last updated: Fri, 15 Sep 2023 19:06:48 GMT
12
39
  * Dependencies: none
13
40
  * Global values: none
14
41
 
babar/index.d.ts CHANGED
@@ -3,20 +3,20 @@
3
3
  // Definitions by: Matt Bachmann <https://github.com/Bachmann1234>
4
4
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
5
 
6
- type color = 'yellow' | 'cyan' | 'white' | 'magenta' | 'green' | 'red' | 'grey' | 'blue';
6
+ type color = "yellow" | "cyan" | "white" | "magenta" | "green" | "red" | "grey" | "blue";
7
7
 
8
8
  interface Options {
9
- caption?: string;
10
- color?: color | 'ascii';
11
- grid?: color;
12
- width?: number;
13
- height?: number;
14
- xFractions?: number;
15
- yFractions?: number;
16
- minX?: number;
17
- maxX?: number;
18
- minY?: number;
19
- maxY?: number;
9
+ caption?: string | undefined;
10
+ color?: color | "ascii" | undefined;
11
+ grid?: color | undefined;
12
+ width?: number | undefined;
13
+ height?: number | undefined;
14
+ xFractions?: number | undefined;
15
+ yFractions?: number | undefined;
16
+ minX?: number | undefined;
17
+ maxX?: number | undefined;
18
+ minY?: number | undefined;
19
+ maxY?: number | undefined;
20
20
  }
21
21
  declare function babar(points: ReadonlyArray<[number, number]>, options?: Options): string;
22
22
 
babar/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@types/babar",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "TypeScript definitions for babar",
5
+ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babar",
5
6
  "license": "MIT",
6
7
  "contributors": [
7
8
  {
@@ -19,6 +20,6 @@
19
20
  },
20
21
  "scripts": {},
21
22
  "dependencies": {},
22
- "typesPublisherContentHash": "727280d4df3a9567525ebbde333f8fbc284d891243e2e88a86bfd80313a40843",
23
- "typeScriptVersion": "3.3"
23
+ "typesPublisherContentHash": "1c7f77b9965cf1dd94c3de73fbc18acfb752781ce9570c70d7530f1be01215bf",
24
+ "typeScriptVersion": "4.5"
24
25
  }