@types/svg2ttf
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -11,12 +11,12 @@ // Type definitions for svg2ttf 5.0 | ||
interface FontOptions { | ||
copyright?: string; | ||
description?: string; | ||
copyright?: string | undefined; | ||
description?: string | undefined; | ||
/** | ||
* Unix timestamp (in seconds) to override creation time | ||
*/ | ||
ts?: number; | ||
ts?: number | undefined; | ||
/** | ||
* manufacturer url | ||
*/ | ||
url?: string; | ||
url?: string | undefined; | ||
/** | ||
@@ -26,3 +26,3 @@ * font version string, can be Version x.y or x.y | ||
*/ | ||
version?: string; | ||
version?: string | undefined; | ||
} | ||
@@ -29,0 +29,0 @@ |
{ | ||
"name": "@types/svg2ttf", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "TypeScript definitions for svg2ttf", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2ttf", | ||
"license": "MIT", | ||
@@ -22,4 +23,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "9e8108fe225baadb71bd926363bfb1fdffdd1a8e854d8169510d2042457f8315", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "4732db1e164d5fecf7c3ebc5272913bcb9b1b73e2fb45c40cca3aa9c4d52afdf", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,42 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2ttf. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2ttf/index.d.ts) | ||
````ts | ||
// Type definitions for svg2ttf 5.0 | ||
// Project: https://github.com/fontello/svg2ttf | ||
// Definitions by: Ewan Morrison <https://github.com/ewan-m> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/** Converts SVG fonts to TTF format */ | ||
declare function svg2ttf(svgFontString: string, options?: svg2ttf.FontOptions): svg2ttf.MicroBuffer; | ||
declare namespace svg2ttf { | ||
interface FontOptions { | ||
copyright?: string | undefined; | ||
description?: string | undefined; | ||
/** | ||
* Unix timestamp (in seconds) to override creation time | ||
*/ | ||
ts?: number | undefined; | ||
/** | ||
* manufacturer url | ||
*/ | ||
url?: string | undefined; | ||
/** | ||
* font version string, can be Version x.y or x.y | ||
* @default 'Version 1.0' | ||
*/ | ||
version?: string | undefined; | ||
} | ||
interface MicroBuffer { | ||
buffer: Uint8Array; | ||
} | ||
} | ||
export = svg2ttf; | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 04 Jun 2020 21:10:56 GMT | ||
* Last updated: Fri, 02 Jul 2021 22:33:13 GMT | ||
* Dependencies: none | ||
@@ -14,0 +51,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4425
0
54