-
-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Description
Hello, first of all I would like to state I know this is not the right place to make such question but I have tried other means but got no response. This leaves me no choice other than to come to the repository itself.
I'm getting the following error when watching for files rebuild from ESLint
/var/www/assets/js/app/pages/ErpFlex.vue
140:10 error Parsing error: Unexpected token
9 | @Getter getTotal: number;
10 |
> 11 | private resendOrder: any = null;
| ^
12 | private loadingOrders: boolean = true;
13 | private callout: object = {
14 | show: false,
In my webpack configuration I have added typeScriptLoader
:
.enableTypeScriptLoader(function (typeScriptConfigOptions) {
typeScriptConfigOptions.transpileOnly = true;
typeScriptConfigOptions.configFile = path.resolve(__dirname, 'tsconfig.json');
})
My tsconfig.json
file looks like:
{
"exclude": [
"vendor",
"/node_modules/"
],
"include": [
"**/*.ts",
"**/*.vue"
],
"compilerOptions": {
"target": "es6",
"allowJs": true, /* Allow javascript files to be compiled. */
"sourceMap": true, /* Generates corresponding '.map' file. */
"strict": true, /* Enable all strict type-checking options. */
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true
}
}
Probably I'm looking at something pretty stupid from my part here. Any help would be much appreciated
seyfer
Metadata
Metadata
Assignees
Labels
No labels