@fluidframework/core-interfaces
Advanced tools
Comparing version 0.43.1000-60718 to 0.43.1000-60792
@@ -11,3 +11,3 @@ ## API Report File for "@fluidframework/core-interfaces" | ||
export type FluidObject<T = unknown> = { | ||
readonly [P in FluidObjectProviderKeys<T>]?: T[P]; | ||
[P in FluidObjectProviderKeys<T>]?: T[P]; | ||
}; | ||
@@ -14,0 +14,0 @@ |
@@ -56,3 +56,3 @@ /*! | ||
export declare type FluidObject<T = unknown> = { | ||
readonly [P in FluidObjectProviderKeys<T>]?: T[P]; | ||
[P in FluidObjectProviderKeys<T>]?: T[P]; | ||
}; | ||
@@ -59,0 +59,0 @@ /** |
@@ -56,3 +56,3 @@ /*! | ||
export declare type FluidObject<T = unknown> = { | ||
readonly [P in FluidObjectProviderKeys<T>]?: T[P]; | ||
[P in FluidObjectProviderKeys<T>]?: T[P]; | ||
}; | ||
@@ -59,0 +59,0 @@ /** |
@@ -97,2 +97,13 @@ var _a, _b, _c, _d, _e, _f, _g, _h, _j; | ||
} | ||
// validate usage as builder | ||
{ | ||
const builder = {}; | ||
builder.IFluidLoadable = getLoadable(); | ||
} | ||
// validate readonly prevents modification | ||
{ | ||
const builder = {}; | ||
// @ts-expect-error Cannot assign to 'IFluidLoadable' because it is a read-only property. | ||
builder.IFluidLoadable = getLoadable(); | ||
} | ||
//# sourceMappingURL=fluidObjectTypes.js.map |
{ | ||
"name": "@fluidframework/core-interfaces", | ||
"version": "0.43.1000-60718", | ||
"version": "0.43.1000-60792", | ||
"description": "Fluid object interfaces", | ||
@@ -5,0 +5,0 @@ "homepage": "https://fluidframework.com", |
@@ -64,3 +64,3 @@ /*! | ||
export type FluidObject<T = unknown> = { | ||
readonly [P in FluidObjectProviderKeys<T>]?: T[P]; | ||
[P in FluidObjectProviderKeys<T>]?: T[P]; | ||
}; | ||
@@ -67,0 +67,0 @@ |
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
Sorry, the diff of this file is not supported yet
191667
1699