File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import fs from 'fs';
3
3
4
4
import mix from 'laravel-mix' ;
5
5
import { Component } from 'laravel-mix/src/components/Component' ;
6
- import { EnvironmentPlugin } from 'webpack' ;
6
+ import { EnvironmentPlugin , Configuration } from 'webpack' ;
7
7
8
8
import { parseAll , hasPhpTranslations } from './loader' ;
9
9
@@ -23,11 +23,11 @@ mix.extend('i18n', class extends Component {
23
23
langPath : string ;
24
24
context : any ;
25
25
26
- register ( langPath = 'lang' ) : void {
26
+ register ( langPath : string = 'lang' ) : void {
27
27
this . langPath = this . context . paths . rootPath + path . sep + langPath ;
28
28
}
29
29
30
- webpackConfig ( config ) : void {
30
+ webpackConfig ( config : Configuration ) : void {
31
31
let files = [ ] ;
32
32
33
33
config . watchOptions = {
You can’t perform that action at this time.
0 commit comments