We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c0860 commit 526bb42Copy full SHA for 526bb42
src/createImports.ts
@@ -1,6 +1,8 @@
1
import ts from "typescript";
2
import { sync } from "glob";
3
-import { extname, basename, join } from "path";
+import { extname, basename, posix } from "path";
4
+
5
+const { join } = posix;
6
7
export const createImports = (generatedClientsPath: string) => {
8
const models = sync(join(generatedClientsPath, 'models', '*.ts').replace(/\\/g, '/'));
0 commit comments