@types/greasemonkey
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -13,2 +13,3 @@ // Type definitions for Greasemonkey 4.x | ||
interface ScriptInfo { | ||
/** Possibly empty string. */ | ||
description: string; | ||
@@ -19,3 +20,4 @@ excludes: string[]; | ||
name: string; | ||
namespace?: string | undefined; | ||
/** Possibly empty string. */ | ||
namespace: string; | ||
/** | ||
@@ -36,2 +38,3 @@ * An object keyed by resource name. | ||
uuid: string; | ||
/** Possibly empty string. */ | ||
version: string; | ||
@@ -219,6 +222,9 @@ } | ||
*/ | ||
getValue( | ||
name: string, | ||
): Promise<GM.Value | undefined> | ||
getValue<TValue = GM.Value>( | ||
name: string, | ||
defaultValue?: TValue | ||
): Promise<TValue | undefined> | ||
defaultValue: TValue | ||
): Promise<TValue> | ||
@@ -225,0 +231,0 @@ /** |
{ | ||
"name": "@types/greasemonkey", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "TypeScript definitions for Greasemonkey", | ||
@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/greasemonkey", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "83c744b96bdfe8b43bc50d65e466621b81a912b7d4484b11dc5b9b3430f4c8cc", | ||
"typeScriptVersion": "3.9" | ||
"typesPublisherContentHash": "28241804797e44fad785d3b8b55c0bf25ce1c3880b468c9d3209d49d537af4d9", | ||
"typeScriptVersion": "4.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 03 Jun 2022 09:01:30 GMT | ||
* Last updated: Fri, 02 Sep 2022 11:32:42 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `GM`, `unsafeWindow` |
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
14253
282