mapcomplete/Logic/FeatureSource/FeatureSource.ts

9 lines
No EOL
221 B
TypeScript

import {UIEventSource} from "../UIEventSource";
export default interface FeatureSource {
features: UIEventSource<{feature: any, freshness: Date}[]>;
/**
* Mainly used for debuging
*/
name: string;
}