Skip to content

Commit

Permalink
Ensure that a default export exists for the cjs-subdir module
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Jun 23, 2021
1 parent 1093df8 commit c64cf92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/module-types/src/cjs-subdir/index.ts
@@ -1,3 +1,5 @@
export const cjs: boolean = true;

export const requireType = typeof require;
const requireType = typeof require;

export default { requireType };

0 comments on commit c64cf92

Please sign in to comment.