Comparing version 1.3.0 to 1.3.1
@@ -32,10 +32,14 @@ /** Declaration file generated by dts-gen */ | ||
export class RegisteredApp extends App implements RegisterAppOptions { | ||
App: Class<RegisteredApp>; | ||
App: RegisteredApp; | ||
name: string; | ||
regions: any[]; | ||
instances: { [name: string] : App }; | ||
weight: number; | ||
multi: boolean; | ||
} | ||
type Constructor<T extends App> = new(...args: any[]) => T; | ||
export class App { | ||
constructor(...args: AppOptions); | ||
constructor(args: AppOptions); | ||
@@ -84,5 +88,5 @@ container: Container; | ||
registerApp(AppClass: Class<App>, options?: RegisterAppOptions): any; | ||
registerApp<T extends Constructor<App>>(AppClass: T, options?: RegisterAppOptions): void; | ||
registerWidget(AppClass: Class<App>, options?: RegisterAppOptions): void; | ||
registerWidget<T extends Constructor<App>>(AppClass: T, options?: RegisterAppOptions): void; | ||
@@ -93,3 +97,2 @@ frintAppName: string; | ||
export function createApp(...args: any[]): Class<App>; | ||
export function createApp<T extends Constructor<App>>(...args: any[]): T; |
{ | ||
"name": "frint", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Core plugin for Frint", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
78831
1423
0