Skip to content

Commit

Permalink
add types for config.package so the docs build (#5985)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Aug 17, 2022
1 parent fa76c2c commit d4d9af0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/kit/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,13 @@ export interface Config {
extensions?: string[];
kit?: KitConfig;
preprocess?: any;
package?: any;
package?: {
source?: string;
dir?: string;
emitTypes?: boolean;
exports?: (filepath: string) => boolean;
files?: (filepath: string) => boolean;
};
[key: string]: any;
}

Expand Down

0 comments on commit d4d9af0

Please sign in to comment.