@pnp/core-commonjs
Advanced tools
Comparing version 3.0.0-v3nightly.20210911 to 3.0.0-v3nightly.20210921
@@ -10,3 +10,4 @@ export * from "./spfxcontextinterface.js"; | ||
*/ | ||
export * from "./behaviors/copyfrom.js"; | ||
export * from "./behaviors/assign-from.js"; | ||
export * from "./behaviors/copy-from.js"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -13,3 +13,4 @@ "use strict"; | ||
*/ | ||
(0, tslib_1.__exportStar)(require("./behaviors/copyfrom.js"), exports); | ||
(0, tslib_1.__exportStar)(require("./behaviors/assign-from.js"), exports); | ||
(0, tslib_1.__exportStar)(require("./behaviors/copy-from.js"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@pnp/core-commonjs", | ||
"version": "3.0.0-v3nightly.20210911", | ||
"version": "3.0.0-v3nightly.20210921", | ||
"description": "pnp - provides shared functionality across all pnp libraries", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -42,3 +42,3 @@ /** | ||
*/ | ||
declare type DefaultTimelineEvents<T extends Moments> = { | ||
declare type DefaultTimelineMoments<T extends Moments> = { | ||
init: (observers: ((this: Timeline<T>) => void)[], ...args: any[]) => void; | ||
@@ -52,7 +52,7 @@ dispose: (observers: ((this: Timeline<T>) => void)[], ...args: any[]) => void; | ||
*/ | ||
declare type OnProxyType<T extends Moments> = DistributeOn<T> & DistributeOn<DefaultTimelineEvents<T>, T>; | ||
declare type OnProxyType<T extends Moments> = DistributeOn<T> & DistributeOn<DefaultTimelineMoments<T>, T>; | ||
/** | ||
* The type combining the defined moments and DefaultTimelineEvents | ||
*/ | ||
declare type EmitProxyType<T extends Moments> = DistributeEmit<T> & DistributeEmit<DefaultTimelineEvents<T>>; | ||
declare type EmitProxyType<T extends Moments> = DistributeEmit<T> & DistributeEmit<DefaultTimelineMoments<T>>; | ||
/** | ||
@@ -71,3 +71,3 @@ * Represents a function accepting and returning a timeline, possibly manipulating the observers present | ||
private _emitProxy; | ||
private _inheritingObservers; | ||
protected _inheritingObservers: boolean; | ||
constructor(moments: T, observers?: ObserverCollection); | ||
@@ -74,0 +74,0 @@ using(...behaviors: TimelinePipe[]): this; |
@@ -56,3 +56,3 @@ "use strict"; | ||
target.cloneObserversOnChange(); | ||
// we trust outselves that this will be an array | ||
// we trust ourselves that this will be an array | ||
target.observers[p].length = 0; | ||
@@ -59,0 +59,0 @@ return true; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
79937
39
1311