@types/opentype.js 1.3.4 → 1.3.5

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.
opentype.js/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for opentype.js (https://github.com/opent
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opentype.js.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 12 Aug 2022 18:32:41 GMT
11
+ * Last updated: Sun, 03 Sep 2023 22:33:58 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `opentype`
14
14
 
opentype.js/index.d.ts CHANGED
@@ -83,8 +83,10 @@ export class Font {
83
83
  validate(): void;
84
84
  }
85
85
 
86
- export type FontConstructorOptions = FontConstructorOptionsBase &
87
- Partial<FontOptions> & {
86
+ export type FontConstructorOptions =
87
+ & FontConstructorOptionsBase
88
+ & Partial<FontOptions>
89
+ & {
88
90
  glyphs: Glyph[];
89
91
  };
90
92
 
@@ -253,8 +255,8 @@ export interface RenderOptions {
253
255
  tracking?: number | undefined;
254
256
  features?:
255
257
  | {
256
- [key: string]: boolean;
257
- }
258
+ [key: string]: boolean;
259
+ }
258
260
  | undefined;
259
261
  }
260
262
 
@@ -302,34 +304,34 @@ export class Path {
302
304
 
303
305
  export type PathCommand =
304
306
  | {
305
- type: 'M';
306
- x: number;
307
- y: number;
308
- }
307
+ type: "M";
308
+ x: number;
309
+ y: number;
310
+ }
309
311
  | {
310
- type: 'L';
311
- x: number;
312
- y: number;
313
- }
312
+ type: "L";
313
+ x: number;
314
+ y: number;
315
+ }
314
316
  | {
315
- type: 'C';
316
- x1: number;
317
- y1: number;
318
- x2: number;
319
- y2: number;
320
- x: number;
321
- y: number;
322
- }
317
+ type: "C";
318
+ x1: number;
319
+ y1: number;
320
+ x2: number;
321
+ y2: number;
322
+ x: number;
323
+ y: number;
324
+ }
323
325
  | {
324
- type: 'Q';
325
- x1: number;
326
- y1: number;
327
- x: number;
328
- y: number;
329
- }
326
+ type: "Q";
327
+ x1: number;
328
+ y1: number;
329
+ x: number;
330
+ y: number;
331
+ }
330
332
  | {
331
- type: 'Z';
332
- };
333
+ type: "Z";
334
+ };
333
335
 
334
336
  /******************************************
335
337
  * UTIL CLASSES
opentype.js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/opentype.js",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "TypeScript definitions for opentype.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opentype.js",
6
6
  "license": "MIT",
@@ -30,6 +30,6 @@
30
30
  },
31
31
  "scripts": {},
32
32
  "dependencies": {},
33
- "typesPublisherContentHash": "f078cc7dc6765d292e7a82eec88544233cc979cc16b5bb26029ec7e231cf6bae",
34
- "typeScriptVersion": "4.0"
33
+ "typesPublisherContentHash": "687758604d5e2e562476c7ada55fd9962f83c5b70bb08400a09db88be0929a5b",
34
+ "typeScriptVersion": "4.3"
35
35
  }