@types/serverless
Advanced tools
Comparing version 1.18.3 to 1.18.4
@@ -22,12 +22,13 @@ import Serverless = require('../index'); | ||
} | ||
interface PluginStatic { | ||
new (serverless: Serverless, options: Serverless.Options): Plugin; | ||
} | ||
} | ||
declare abstract class Plugin { | ||
interface Plugin { | ||
hooks: Plugin.Hooks; | ||
commands?: Plugin.Commands; | ||
constructor(serverless: Serverless, options: Serverless.Options); | ||
} | ||
export = Plugin; |
@@ -10,3 +10,3 @@ import Serverless = require("../index"); | ||
addPlugin(plugin: typeof Plugin): void; | ||
addPlugin(plugin: Plugin.PluginStatic): void; | ||
loadAllPlugins(servicePlugins: {}): void; | ||
@@ -13,0 +13,0 @@ loadPlugins(plugins: {}): void; |
@@ -14,3 +14,5 @@ import Serverless = require("../index"); | ||
compiledCloudFormationTemplate: { | ||
Resources: any[]; | ||
Resources: { | ||
[key: string]: any; | ||
}; | ||
Outputs?: { | ||
@@ -17,0 +19,0 @@ [key: string]: any; |
{ | ||
"name": "@types/serverless", | ||
"version": "1.18.3", | ||
"version": "1.18.4", | ||
"description": "TypeScript definitions for serverless", | ||
@@ -32,4 +32,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f6b2c52d69e42d9cd945a7a7debf181f42bf363485044a2a214541c95bdcaf8f", | ||
"typesPublisherContentHash": "c55075b659f86f1731d9b6419da09e9fda29d4067c9885a5d4d234e67a8a53d7", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -6,2 +6,3 @@ import Serverless = require("../../../index"); | ||
naming: { [key: string]: () => string }; | ||
getProviderName(): string; | ||
@@ -8,0 +9,0 @@ getRegion(): string; |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 27 Sep 2019 16:15:31 GMT | ||
* Last updated: Tue, 01 Oct 2019 16:34:55 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
8802
188