import {AbstractPropertyBinding} from "./AbstractPropertyBinding";

export class PrimitivePropertyBinding<V> extends AbstractPropertyBinding<V> {

    public get(): V {
        return this.parent[this.property_name] as V;
    }

    public set(v: V): void {
        this.parent[this.property_name] = v;
    }
}
