We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0316f11 commit b7a9859Copy full SHA for b7a9859
src/index.ts
@@ -218,6 +218,12 @@ export type Value =
218
| PathValue;
219
220
export class Property<PropertyValueType extends Value> {
221
+
222
+ constructor(
223
+ readonly value: PropertyValueType,
224
+ readonly name: string = "Property name"
225
+ ) {}
226
227
/**
228
* The number of keyframes on the property
229
*/
@@ -384,11 +390,6 @@ export class Property<PropertyValueType extends Value> {
384
390
): PropertyValueType {
385
391
return this.value;
386
392
}
387
-
388
- constructor(
389
- readonly value: PropertyValueType,
- readonly name: string = "Property name"
- ) {}
393
394
395
export class PathProperty extends Property<PathValue> {
0 commit comments