@types/configstore
Advanced tools
Comparing version 5.0.1 to 6.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for configstore 5.0 | ||
// Type definitions for configstore 6.0 | ||
// Project: https://github.com/yeoman/configstore | ||
@@ -6,7 +6,5 @@ // Definitions by: ArcticLight <https://github.com/ArcticLight> | ||
export = Configstore; | ||
export default class Configstore { | ||
constructor(packageName: string, defaults?: any, options?: ConfigstoreOptions); | ||
declare class Configstore { | ||
constructor(packageName: string, defaults?: any, options?: Configstore.ConfigstoreOptions); | ||
/** | ||
@@ -68,7 +66,5 @@ * Get the path to the config file. Can be used to show the user | ||
declare namespace Configstore { | ||
interface ConfigstoreOptions { | ||
globalConfigPath?: boolean | undefined; | ||
configPath?: string | undefined; | ||
} | ||
export interface ConfigstoreOptions { | ||
globalConfigPath?: boolean | undefined; | ||
configPath?: string | undefined; | ||
} |
{ | ||
"name": "@types/configstore", | ||
"version": "5.0.1", | ||
"version": "6.0.0", | ||
"description": "TypeScript definitions for configstore", | ||
@@ -23,4 +23,5 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/configstore", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "22b7339a6c79504ec1103a84f9eaebe05ecafb9580f58c2e84baddbe4dcc8a25", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "4bccf2f1b41daff0247e8d0d5ea9cc7ec3bd01befd895c3be9a7897c709cb211", | ||
"typeScriptVersion": "4.0", | ||
"type": "module" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
````ts | ||
// Type definitions for configstore 5.0 | ||
// Type definitions for configstore 6.0 | ||
// Project: https://github.com/yeoman/configstore | ||
@@ -17,7 +17,5 @@ // Definitions by: ArcticLight <https://github.com/ArcticLight> | ||
export = Configstore; | ||
export default class Configstore { | ||
constructor(packageName: string, defaults?: any, options?: ConfigstoreOptions); | ||
declare class Configstore { | ||
constructor(packageName: string, defaults?: any, options?: Configstore.ConfigstoreOptions); | ||
/** | ||
@@ -79,7 +77,5 @@ * Get the path to the config file. Can be used to show the user | ||
declare namespace Configstore { | ||
interface ConfigstoreOptions { | ||
globalConfigPath?: boolean | undefined; | ||
configPath?: string | undefined; | ||
} | ||
export interface ConfigstoreOptions { | ||
globalConfigPath?: boolean | undefined; | ||
configPath?: string | undefined; | ||
} | ||
@@ -90,3 +86,3 @@ | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 18:05:59 GMT | ||
* Last updated: Mon, 04 Jul 2022 19:32:19 GMT | ||
* Dependencies: none | ||
@@ -93,0 +89,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
Yes
5878
57
89