Skip to content

Commit 72d4df5

Browse files
DawidKopysDawid Kopys
andauthored
fix: import serializeJs using default import instead of a namespace import (#1485)
Co-authored-by: Dawid Kopys <[email protected]>
1 parent 2746efa commit 72d4df5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/vue-apollo-ssr/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as serializeJs from 'serialize-javascript'
1+
import serializeJs from 'serialize-javascript'
22
import { ApolloClient } from '@apollo/client/core/index.js'
33

44
export type ApolloClients = { [key: string]: ApolloClient<any> }

packages/vue-apollo-ssr/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"moduleResolution": "node",
66
"sourceMap": true,
77
"skipLibCheck": true,
8-
"strict": true
8+
"strict": true,
9+
"esModuleInterop": true
910
},
1011
"include": [
1112
"src/**/*"

0 commit comments

Comments
 (0)