Comparing version 6.0.2 to 6.0.3
@@ -57,3 +57,3 @@ /** | ||
*/ | ||
static macro<T extends typeof Macroable>(this: T, name: string, callback: MacroFn<InstanceType<T>, any[], any>): void; | ||
static macro<T extends typeof Macroable, K extends string>(this: T, name: string, callback: GetMacroFn<InstanceType<T>, K>): void; | ||
/** | ||
@@ -87,3 +87,3 @@ * Return the existing macro or null if it doesn't exists | ||
*/ | ||
static getter<T extends typeof Macroable>(this: T, name: string, callback: GetterFn<InstanceType<T>, any>, singleton?: boolean): void; | ||
static getter<T extends typeof Macroable, K extends string>(this: T, name: string, callback: GetGetterFn<InstanceType<T>, K>, singleton?: boolean): void; | ||
/** | ||
@@ -90,0 +90,0 @@ * Return the existing getter or null if it doesn't exists |
{ | ||
"name": "macroable", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"description": "A simple ES6 class that can be extended to provide macros and getters functionality", | ||
@@ -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
13414