Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#44678 Revert "add types for serverless.yml…
Browse files Browse the repository at this point in the history
… for AWS provider" by @bryan-hunter

This reverts commit 3384c76.
  • Loading branch information
bryan-hunter authored May 12, 2020
1 parent 3384c76 commit c2d4821
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 554 deletions.
12 changes: 5 additions & 7 deletions types/serverless/classes/Plugin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ declare namespace Plugin {
type VariableResolver = (variableSource: string) => Promise<any>;

interface VariableResolvers {
[variablePrefix: string]:
| VariableResolver
| {
resolver: VariableResolver;
isDisabledAtPrepopulation?: boolean;
serviceName?: string;
};
[variablePrefix: string]: VariableResolver | {
resolver: VariableResolver,
isDisabledAtPrepopulation?: boolean,
serviceName?: string
};
}

interface PluginStatic {
Expand Down
3 changes: 0 additions & 3 deletions types/serverless/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// Jonathan M. Wilbur <https://github.com/JonathanWilbur>
// Alex Pavlenko <https://github.com/a-pavlenko>
// Frédéric Barthelet <https://github.com/fredericbarthelet>
// Bryan Hunter <https://github.com/bryan-hunter>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import Service = require('./classes/Service');
Expand Down Expand Up @@ -49,8 +48,6 @@ declare namespace Serverless {
artifact?: string;
individually?: boolean;
}

type Aws = AwsProvider;
}

declare class Serverless {
Expand Down
Loading

0 comments on commit c2d4821

Please sign in to comment.