@mcma/core
Advanced tools
Comparing version 0.13.5 to 0.13.6
export interface McmaObjectProperties { | ||
["@type"]?: string; | ||
[key: string]: any; | ||
} | ||
export declare class McmaObject implements McmaObjectProperties { | ||
["@type"]: string; | ||
[key: string]: any; | ||
constructor(type: string, properties?: McmaObjectProperties); | ||
@@ -9,0 +7,0 @@ protected checkProperty(propertyName: string, expectedType: string, required?: boolean): void; |
@@ -8,6 +8,6 @@ "use strict"; | ||
constructor(type, properties) { | ||
this["@type"] = type; | ||
if (properties) { | ||
Object.assign(this, properties); | ||
} | ||
this["@type"] = type; | ||
} | ||
@@ -14,0 +14,0 @@ checkProperty(propertyName, expectedType, required) { |
{ | ||
"name": "@mcma/core", | ||
"version": "0.13.5", | ||
"version": "0.13.6", | ||
"description": "Node module with type definitions and helper utils for the EBU MCMA framework", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51544
1276