File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @fileoverview This file is imported externally by things like vscode-coder so
3
+ * it must not import anything using aliases otherwise it will break when being
4
+ * imported by those external consumers. For example, `utils/delay` must be
5
+ * imported using `../utils/delay` instead.
6
+ */
7
+
1
8
import axios , { isAxiosError } from "axios" ;
2
9
import type dayjs from "dayjs" ;
3
10
import userAgentParser from "ua-parser-js" ;
4
- import { delay } from "utils/delay" ;
11
+ import { delay } from "../ utils/delay" ;
5
12
import * as TypesGen from "./typesGenerated" ;
6
- // This needs to include the `../`, otherwise it breaks when importing into
7
- // vscode-coder.
8
13
9
14
// Adds 304 for the default axios validateStatus function
10
15
// https://github.com/axios/axios#handling-errors Check status here
You can’t perform that action at this time.
0 commit comments