Answer the question
In order to leave comments, you need to log in
How to solve the problem with TS import?
Module parse failed: Unexpected token (4:12)
You may need an appropriate loader to handle this file type.
|
| export class AdminPanelClient {
> private instance: AxiosInstance;
| private baseUrl: string;
| protected jsonParseReviver: ((key: string, value: any) => any) | undefined = undefined;
@ ./src/WebApi.js 5:0-50 111:8-24
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.100:8081/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question