Skip to content

Commit

Permalink
fix(d.ts): caseStyle should return array (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyDaddy authored and atian25 committed Apr 11, 2019
1 parent 98952c9 commit 1ba4d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export interface FileLoaderOption {
/** a function that filter the exports which can be loaded */
filter?(obj: object): boolean;
/** set property's case when converting a filepath to property list. */
caseStyle?: string | ((str: string) => string);
caseStyle?: string | ((str: string) => string[]);
}

export interface ContextLoaderOption extends Partial<FileLoaderOption> {
Expand Down

0 comments on commit 1ba4d7c

Please sign in to comment.