Skip to content

Commit d4d9af0

Browse files
authored
add types for config.package so the docs build (#5985)
1 parent fa76c2c commit d4d9af0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/kit/types/index.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,13 @@ export interface Config {
107107
extensions?: string[];
108108
kit?: KitConfig;
109109
preprocess?: any;
110-
package?: any;
110+
package?: {
111+
source?: string;
112+
dir?: string;
113+
emitTypes?: boolean;
114+
exports?: (filepath: string) => boolean;
115+
files?: (filepath: string) => boolean;
116+
};
111117
[key: string]: any;
112118
}
113119

0 commit comments

Comments
 (0)