oak-domain/lib/store/selection.d.ts

8 lines
336 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { StorageSchema } from '../types';
import { EntityDict } from '../types/Entity';
/**
* 对selection进行一些完善避免编程人员的疏漏
* @param selection
*/
export declare function reinforceSelection<ED extends EntityDict>(schema: StorageSchema<ED>, entity: keyof ED, selection: ED[keyof ED]['Selection']): void;