Skip to content

Commit

Permalink
Add "esModuleInterop" to tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Nov 30, 2023
1 parent 959e327 commit e75415c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion typescript_test/argsMemoize.typetest.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
import memoizeOne from 'memoize-one'
import microMemoize from 'micro-memoize'
import {
unstable_autotrackMemoize as autotrackMemoize,
createSelector,
createSelectorCreator,
defaultMemoize,
setGlobalDevModeChecks,

Check failure on line 7 in typescript_test/argsMemoize.typetest.ts

View workflow job for this annotation

GitHub Actions / Test Types with TypeScript 4.9

Module '"reselect"' has no exported member 'setGlobalDevModeChecks'.

Check failure on line 7 in typescript_test/argsMemoize.typetest.ts

View workflow job for this annotation

GitHub Actions / Test Types with TypeScript 5.0

Module '"reselect"' has no exported member 'setGlobalDevModeChecks'.

Check failure on line 7 in typescript_test/argsMemoize.typetest.ts

View workflow job for this annotation

GitHub Actions / Test Types with TypeScript 5.2

Module '"reselect"' has no exported member 'setGlobalDevModeChecks'.

Check failure on line 7 in typescript_test/argsMemoize.typetest.ts

View workflow job for this annotation

GitHub Actions / Test Types with TypeScript 5.1

Module '"reselect"' has no exported member 'setGlobalDevModeChecks'.

Check failure on line 7 in typescript_test/argsMemoize.typetest.ts

View workflow job for this annotation

GitHub Actions / Test Types with TypeScript 4.7

Module '"reselect"' has no exported member 'setGlobalDevModeChecks'.

Check failure on line 7 in typescript_test/argsMemoize.typetest.ts

View workflow job for this annotation

GitHub Actions / Test Types with TypeScript 4.8

Module '"reselect"' has no exported member 'setGlobalDevModeChecks'.
unstable_autotrackMemoize as autotrackMemoize,
weakMapMemoize
} from 'reselect'
import { expectExactType } from './typesTestUtils'

setGlobalDevModeChecks({ identityFunctionCheck: 'never' })

interface RootState {
todos: {
id: number
Expand Down
1 change: 1 addition & 0 deletions typescript_test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"module": "commonjs",
"strict": true,
"target": "ES2015",
"esModuleInterop": true,
"lib": ["ES2021.WeakRef"],
"declaration": true,
"noEmit": true,
Expand Down

0 comments on commit e75415c

Please sign in to comment.