@matchlighter/common_library
Advanced tools
Comparing version 1.2.9 to 1.2.10
@@ -32,44 +32,44 @@ import React from "react"; | ||
export declare function createContextDict<T extends Object>(defaultValue: T, options?: CDOptions): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T>>; | ||
Provider: React.FunctionComponent<CODProps<T>>; | ||
Consumer: React.Consumer<T>; | ||
Provider: React.SFC<CODProps<T>>; | ||
displayName: string; | ||
subContext<T2>(as: string, defaultValue: T2): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2>>; | ||
Provider: React.FunctionComponent<CODProps<T2>>; | ||
Consumer: React.Consumer<T2>; | ||
Provider: React.SFC<CODProps<T2>>; | ||
displayName: string; | ||
subContext<T2_1>(as: string, defaultValue: T2_1): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2_1>>; | ||
Provider: React.FunctionComponent<CODProps<T2_1>>; | ||
Consumer: React.Consumer<T2_1>; | ||
Provider: React.SFC<CODProps<T2_1>>; | ||
displayName: string; | ||
subContext<T2_2>(as: string, defaultValue: T2_2): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2_2>>; | ||
Provider: React.FunctionComponent<CODProps<T2_2>>; | ||
Consumer: React.Consumer<T2_2>; | ||
Provider: React.SFC<CODProps<T2_2>>; | ||
displayName: string; | ||
subContext<T2_3>(as: string, defaultValue: T2_3): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2_3>>; | ||
Provider: React.FunctionComponent<CODProps<T2_3>>; | ||
Consumer: React.Consumer<T2_3>; | ||
Provider: React.SFC<CODProps<T2_3>>; | ||
displayName: string; | ||
subContext<T2_4>(as: string, defaultValue: T2_4): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2_4>>; | ||
Provider: React.FunctionComponent<CODProps<T2_4>>; | ||
Consumer: React.Consumer<T2_4>; | ||
Provider: React.SFC<CODProps<T2_4>>; | ||
displayName: string; | ||
subContext<T2_5>(as: string, defaultValue: T2_5): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2_5>>; | ||
Provider: React.FunctionComponent<CODProps<T2_5>>; | ||
Consumer: React.Consumer<T2_5>; | ||
Provider: React.SFC<CODProps<T2_5>>; | ||
displayName: string; | ||
subContext<T2_6>(as: string, defaultValue: T2_6): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2_6>>; | ||
Provider: React.FunctionComponent<CODProps<T2_6>>; | ||
Consumer: React.Consumer<T2_6>; | ||
Provider: React.SFC<CODProps<T2_6>>; | ||
displayName: string; | ||
subContext<T2_7>(as: string, defaultValue: T2_7): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2_7>>; | ||
Provider: React.FunctionComponent<CODProps<T2_7>>; | ||
Consumer: React.Consumer<T2_7>; | ||
Provider: React.SFC<CODProps<T2_7>>; | ||
displayName: string; | ||
subContext<T2_8>(as: string, defaultValue: T2_8): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2_8>>; | ||
Provider: React.FunctionComponent<CODProps<T2_8>>; | ||
Consumer: React.Consumer<T2_8>; | ||
Provider: React.SFC<CODProps<T2_8>>; | ||
displayName: string; | ||
subContext<T2_9>(as: string, defaultValue: T2_9): { | ||
Consumer: React.ExoticComponent<React.ConsumerProps<T2_9>>; | ||
Provider: React.FunctionComponent<CODProps<T2_9>>; | ||
Consumer: React.Consumer<T2_9>; | ||
Provider: React.SFC<CODProps<T2_9>>; | ||
displayName: string; | ||
@@ -76,0 +76,0 @@ subContext<T2_10>(as: string, defaultValue: T2_10): any; |
@@ -26,3 +26,3 @@ import { AsyncReturnType } from './promises'; | ||
_call(args: Parameters<F>): Promise<any>; | ||
readonly value: import("./promises").PromiseType<ReturnType<F>>; | ||
get value(): import("./promises").PromiseType<ReturnType<F>>; | ||
markLoaded(): void; | ||
@@ -29,0 +29,0 @@ setValue(value: AsyncReturnType<F>): void; |
@@ -18,3 +18,3 @@ "use strict"; | ||
var meObjExp = me.object; | ||
var expCheck = t.binaryExpression('!=', meObjExp, t.nullLiteral()); | ||
var expCheck = t.binaryExpression('!=', t.cloneNode(meObjExp), t.nullLiteral()); | ||
if (meObjExp.type == 'MemberExpression' && meObjExp.object.type != 'ThisExpression') { | ||
@@ -21,0 +21,0 @@ return t.logicalExpression('&&', rewriteSubMemberExpression(meObjExp), expCheck); |
@@ -17,6 +17,6 @@ import React, { ReactNode } from "react"; | ||
private addEntry; | ||
readonly layer: any; | ||
get layer(): any; | ||
private _path; | ||
readonly path: string; | ||
readonly hasComponent: boolean; | ||
get path(): string; | ||
get hasComponent(): boolean; | ||
protected getAllLayers(layerSet?: Set<string>): Set<string>; | ||
@@ -23,0 +23,0 @@ protected internalRenderLayer(layer: string): RenderInfo; |
@@ -10,3 +10,3 @@ import { DeepSyncOptions } from './deep/deep_sync_adv'; | ||
constructor(source: any, dest: any, options: SyncedObservableOptions); | ||
readonly value: any; | ||
get value(): any; | ||
/** | ||
@@ -13,0 +13,0 @@ * Sync the observable with the passed `from` object, or from the original object |
{ | ||
"name": "@matchlighter/common_library", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"description": "Shared Functions, Helpers, Patterns & Utilities for Apps and Libraries", | ||
@@ -5,0 +5,0 @@ "author": "Matchlighter", |
Sorry, the diff of this file is not supported yet
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
142290
44