Skip to content

Commit

Permalink
Fix TypeScript compatibility
Browse files Browse the repository at this point in the history
Fixes #358
  • Loading branch information
sindresorhus committed Dec 13, 2022
1 parent 5f418d4 commit 76f8fc5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
export * as default from './base.js';
/// export * as default from './base.js';

// Workaround for TS missing feature.
import * as queryString from './base.js';

export default queryString;

export {
type ParseOptions,
Expand Down

0 comments on commit 76f8fc5

Please sign in to comment.