Skip to content

Commit 323fc81

Browse files
committed
fix
1 parent d96a5f5 commit 323fc81

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

samples/openapi3/client/petstore/typescript/tests/default/test/http/isomorphic-fetch.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as petstore from "ts-petstore-client";
22

33
import { expect} from "chai";
4-
import * as FormData from "form-data";
4+
import FormData from "form-data";
55

66
let libs: { [key: string]: petstore.HttpLibrary } = {
77
"isomorphic-fetch": new petstore.IsomorphicFetchHttpLibrary()
@@ -68,4 +68,4 @@ for (let libName in libs) {
6868
}).catch(done)
6969
})
7070
})
71-
}
71+
}

samples/openapi3/client/petstore/typescript/tests/default/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"esModuleInterop": true,
34
"module": "commonjs",
45
"target": "es6",
56
"noImplicitAny": true,

0 commit comments

Comments
 (0)