We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f8b4d commit 2292bf9Copy full SHA for 2292bf9
legacy.js
@@ -4,6 +4,8 @@ import { splitPathMemoized } from './utilities/splitPath.js'
4
import chainingSupported from './utilities/chainingSupported.js'
5
import { Sync, OriginalImpl } from './constants.js'
6
7
+
8
+/** @type {Record<'get' | 'missing' | 'missing_some' | 'var', { method: (...args) => any }>} **/
9
const legacyMethods = {
10
get: {
11
[Sync]: true,
@@ -157,4 +159,5 @@ const legacyMethods = {
157
159
}
158
160
161
-export default legacyMethods
162
163
+export default {...legacyMethods}
0 commit comments