Skip to content

Commit e9259cd

Browse files
authored
feat: add types for new lintOnSave options and multi-page entries (#3847)
1 parent 3da799c commit e9259cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@vue/cli-service/types/ProjectOptions.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ChainableWebpackConfig from 'webpack-chain'
22
import { WebpackOptions } from 'webpack/declarations/WebpackOptions'
33

4-
type PageEntry = string;
4+
type PageEntry = string | string[];
55

66
interface PageConfig {
77
entry: PageEntry;
@@ -51,7 +51,7 @@ export interface ProjectOptions {
5151
chainWebpack?: (config: ChainableWebpackConfig) => void;
5252
configureWebpack?: WebpackOptions | ((config: WebpackOptions) => (WebpackOptions | void));
5353

54-
lintOnSave?: boolean | 'error';
54+
lintOnSave?: boolean | 'default' | 'warning' | 'error';
5555
pwa?: object;
5656

5757
pluginOptions?: object;

0 commit comments

Comments
 (0)