mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 10:21:55 +00:00
12 lines
294 B
TypeScript
12 lines
294 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",
|
|
})
|
|
}
|
|
}
|