File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Simply add `TypeScriptLoader` to the list of loaders for the `.ts` file type:
2222
2323``` ts
2424import { cosmiconfig } from " cosmiconfig" ;
25- import TypeScriptLoader from " cosmiconfig-typescript-loader" ;
25+ import { TypeScriptLoader } from " cosmiconfig-typescript-loader" ;
2626
2727const moduleName = " module" ;
2828const explorer = cosmiconfig (" test" , {
@@ -51,7 +51,7 @@ Or more simply if you only support loading of a TypeScript based configuration f
5151
5252``` ts
5353import { cosmiconfig } from " cosmiconfig" ;
54- import TypeScriptLoader from " cosmiconfig-typescript-loader" ;
54+ import { TypeScriptLoader } from " cosmiconfig-typescript-loader" ;
5555
5656const moduleName = " module" ;
5757const explorer = cosmiconfig (" test" , {
You can’t perform that action at this time.
0 commit comments