Files
start-sdk/lib/properties/PropertyString.ts

12 lines
296 B
TypeScript

import { PackagePropertyString } from "../types";
export class PropertyString {
private constructor(readonly data: PackagePropertyString) {}
static of(value: Omit<PackagePropertyString, "type" | "watch">) {
return new PropertyString({
...value,
type: "string",
});
}
}