Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@schirkan/reactron-interfaces

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schirkan/reactron-interfaces - npm Package Compare versions

Comparing version 0.9.1 to 0.10.0-alpha.0

dist/bundle.d.ts

12

package.json
{
"name": "@schirkan/reactron-interfaces",
"version": "0.9.1",
"version": "0.10.0-alpha.0",
"description": "interfaces for reactron modules",

@@ -20,4 +20,7 @@ "keywords": [

},
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "tsc -p ."
},
"main": "dist/bundle.js",
"types": "dist/bundle.d.ts",
"devDependencies": {

@@ -28,4 +31,5 @@ "@fortawesome/fontawesome-svg-core": "^1.2.12",

"@types/node": "^10.12.18",
"@types/react": "^16.7.18"
"@types/react": "^16.7.18",
"typescript": "^3.2.2"
}
}

@@ -34,4 +34,4 @@ type JSONValue = string | number | boolean | JSONObject | JSONArray;

declare class ElectronStore<T = {}> implements Iterable<[string, JSONValue]> {
constructor(options?: ElectronStoreOptions<T>);
export interface ElectronStore<T = {}> extends Iterable<[string, JSONValue]> {
constructor(options?: ElectronStoreOptions<T>): ElectronStore<T>;

@@ -41,4 +41,4 @@ /**

*/
public set<K extends keyof T>(key: K, value: T[K]): void;
public set(key: string, value: any): void;
set<K extends keyof T>(key: K, value: T[K]): void;
set(key: string, value: any): void;

@@ -48,3 +48,3 @@ /**

*/
public set(object: Pick<T, keyof T> | T | JSONObject): void;
set(object: Pick<T, keyof T> | T | JSONObject): void;

@@ -54,4 +54,4 @@ /**

*/
public get<K extends keyof T>(key: K, defaultValue?: JSONValue): T[K];
public get(key: string, defaultValue?: any): any;
get<K extends keyof T>(key: K, defaultValue?: JSONValue): T[K];
get(key: string, defaultValue?: any): any;

@@ -61,3 +61,3 @@ /**

*/
public has(key: keyof T | string): boolean;
has(key: keyof T | string): boolean;

@@ -67,3 +67,3 @@ /**

*/
public delete(key: keyof T | string): void;
delete(key: keyof T | string): void;

@@ -73,3 +73,3 @@ /**

*/
public clear(): void;
clear(): void;

@@ -80,7 +80,7 @@ /**

*/
public onDidChange<K extends keyof T>(
onDidChange<K extends keyof T>(
key: K,
callback: (newValue: T[K], oldValue: T[K]) => void
): void;
public onDidChange(
onDidChange(
key: string,

@@ -93,3 +93,3 @@ callback: (newValue: JSONValue, oldValue: JSONValue) => void

*/
public size: number;
size: number;

@@ -99,3 +99,3 @@ /**

*/
public store: T;
store: T;

@@ -105,3 +105,3 @@ /**

*/
public path: string;
path: string;

@@ -111,5 +111,5 @@ /**

*/
public openInEditor(): void;
openInEditor(): void;
public [Symbol.iterator](): Iterator<[string, JSONValue]>;
[Symbol.iterator](): Iterator<[string, JSONValue]>;
}
import { IBackendService } from './IBackendService';
import { ISystemSettings } from './ISystemSettings';
import { ElectronStore } from './ElectronStore';

@@ -4,0 +5,0 @@ export interface IModuleContext {

{
"compilerOptions": {
"target": "es5",
"module": "CommonJS",
"outFile": "dist/bundle.js",
"target": "es6",
"module": "amd",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"sourceMap": false,
"noImplicitAny": false,
"lib": [
"dom",
"es7"
],
"typeRoots": [
"node_modules/@types/"
],
"lib": ["es6", "dom"],
"noImplicitAny": true,
"declaration": true
},
"include": [
"src/index.ts"
],
"exclude": [
"node_modules"
]
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc