@poppinss/utils
Advanced tools
Comparing version 2.5.4 to 2.5.5
/** | ||
* Define static properties on a class with inheritance in play. | ||
*/ | ||
export declare function defineStaticProperty(self: any, BaseClass: any, { propertyName, defaultValue, strategy, }: { | ||
propertyName: string; | ||
defaultValue: any; | ||
export declare function defineStaticProperty<Base extends Function, Prop extends keyof Base>(self: any, BaseClass: Base, { propertyName, defaultValue, strategy, }: { | ||
propertyName: Prop; | ||
defaultValue: Base[Prop]; | ||
strategy: 'inherit' | 'define'; | ||
}): void; |
{ | ||
"name": "@poppinss/utils", | ||
"version": "2.5.4", | ||
"version": "2.5.5", | ||
"description": "Handy utilities for repetitive work", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
74752