Skip to content

Commit

Permalink
fix: import serializeJs using default import instead of a namespace i…
Browse files Browse the repository at this point in the history
…mport (#1485)

Co-authored-by: Dawid Kopys <[email protected]>
  • Loading branch information
DawidKopys and Dawid Kopys authored Jan 15, 2024
1 parent 2746efa commit 72d4df5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vue-apollo-ssr/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as serializeJs from 'serialize-javascript'
import serializeJs from 'serialize-javascript'
import { ApolloClient } from '@apollo/client/core/index.js'

export type ApolloClients = { [key: string]: ApolloClient<any> }
Expand Down
3 changes: 2 additions & 1 deletion packages/vue-apollo-ssr/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"moduleResolution": "node",
"sourceMap": true,
"skipLibCheck": true,
"strict": true
"strict": true,
"esModuleInterop": true
},
"include": [
"src/**/*"
Expand Down

0 comments on commit 72d4df5

Please sign in to comment.