Skip to content

Commit

Permalink
poi: fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
bolasblack committed Apr 14, 2019
1 parent af9f88b commit 8d262b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions types/poi/index.d.ts
Expand Up @@ -61,9 +61,9 @@ declare class Poi {
}

declare namespace Poi {
export type Mode = "production" | "development" | "test";
type Mode = "production" | "development" | "test";

export interface Opts {
interface Opts {
type: string;
mode: Mode;
[k: string]: any;
Expand All @@ -72,7 +72,7 @@ declare namespace Poi {
/**
* https://poi.js.org/config.html
*/
export interface Config {
interface Config {
entry?: Config.Entry;
output?: Config.Output;
pages?: Config.Pages;
Expand All @@ -88,7 +88,7 @@ declare namespace Poi {
plugins?: Config.Plugins;
}

export namespace Config {
namespace Config {
type Entry = WebpackConfig["entry"];

interface Output {
Expand Down Expand Up @@ -210,7 +210,7 @@ declare namespace Poi {
type Plugins = Array<string | PluginOption>;
}

export interface ConfigLoader {
interface ConfigLoader {
resolve(
files?: ReadonlyArray<string>,
cwd?: string,
Expand All @@ -225,7 +225,7 @@ declare namespace Poi {
): any;
load(options?: ConfigLoader.Options): any;
}
export namespace ConfigLoader {
namespace ConfigLoader {
interface Options {
files?: string[];
cwd?: string;
Expand All @@ -235,7 +235,7 @@ declare namespace Poi {
}
}

export interface HookHandler {
interface HookHandler {
(config: WebpackChainConfig, opts: Opts): void;
}
}
Expand Down
2 changes: 1 addition & 1 deletion types/poi/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"dependencies": {
"cac": "^6.4.2",
"cac": "~6.4.2",
"webpack-chain": "^5.2.4"
}
}

0 comments on commit 8d262b6

Please sign in to comment.