@dmgt/google-ad-manager-api
Version:
Typed Google Ad Manager API
9 lines (8 loc) • 322 B
TypeScript
import { Comparable } from './comparable';
type Value<T extends Comparable> = T | Condition<T> | Value<T>[];
export declare class Condition<T extends Comparable> {
readonly value: Value<T>;
readonly format: (prop: string) => string;
constructor(value: Value<T>, format: (prop: string) => string);
}
export {};