Skip to content

Commit 2292bf9

Browse files
committed
Add annotation to work around exotic build issue...
1 parent 83f8b4d commit 2292bf9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

legacy.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { splitPathMemoized } from './utilities/splitPath.js'
44
import chainingSupported from './utilities/chainingSupported.js'
55
import { Sync, OriginalImpl } from './constants.js'
66

7+
8+
/** @type {Record<'get' | 'missing' | 'missing_some' | 'var', { method: (...args) => any }>} **/
79
const legacyMethods = {
810
get: {
911
[Sync]: true,
@@ -157,4 +159,5 @@ const legacyMethods = {
157159
}
158160
}
159161

160-
export default legacyMethods
162+
163+
export default {...legacyMethods}

0 commit comments

Comments
 (0)