botbuilder-core
Version:
Core components for Microsoft Bot Builder. Components in this library can run either in a browser or on the server.
22 lines • 728 B
TypeScript
/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { StatePropertyAccessor } from './botStatePropertyAccessor';
/**
* Interface implemented by classes capable of factoring property accessors.
*/
export interface PropertyManager {
/**
* Creates a new property accessor for reading and writing an individual property to the bots
* state management system.
*
* @template T (Optional) type of property to create. Defaults to `any` type.
* @param name Name of the property being created.
*/
createProperty<T = any>(name: string): StatePropertyAccessor<T>;
}
//# sourceMappingURL=propertyManager.d.ts.map