Skip to content

Commit 618582c

Browse files
committed
change import to api, not default
1 parent a582007 commit 618582c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/mongodb-ts-autocomplete/scripts/extract-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable no-console */
22
import { promises as fs } from 'fs';
33
import path from 'path';
4-
import ShellApiText from '@mongosh/shell-api/api';
4+
import { api as ShellApiText } from '@mongosh/shell-api/api';
55

66
function replaceImports(code: string) {
77
// This just makes it possible to work on mql.ts because then the

packages/mongodb-ts-autocomplete/src/fixtures/autocomplete-types.ts

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)