mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
serverless: improve Plugin type
This commit is contained in:
Vendored
+4
-1
@@ -1,7 +1,10 @@
|
||||
import Serverless = require("../index");
|
||||
|
||||
// tslint:disable-next-line:no-unnecessary-class
|
||||
declare abstract class Plugin {
|
||||
hooks: {
|
||||
[event: string]: Promise<any>;
|
||||
};
|
||||
|
||||
constructor(serverless: Serverless, options: Serverless.Options)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user