Skip to content

Commit bad081b

Browse files
committed
Fix type error
1 parent 63320b0 commit bad081b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/operators.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import {
1212
PotentialInfiniteRecursionError
1313
} from '../errors/timeoutErrors'
1414
import { Chapter, type NativeStorage } from '../types'
15-
import { callExpression, locationDummyNode } from './ast/astCreator'
1615
import * as create from './ast/astCreator'
16+
import { callExpression, locationDummyNode } from './ast/astCreator'
1717
import { makeWrapper } from './makeWrapper'
1818
import * as rttc from './rttc'
1919

@@ -249,7 +249,7 @@ export const wrap = (
249249
const wrapped = (...args: any[]) => callIteratively(f, nativeStorage, ...args)
250250
makeWrapper(f, wrapped)
251251
wrapped.transformedFunction = f
252-
wrapped[Symbol.toStringTag] = () => stringified
252+
;(wrapped as any)[Symbol.toStringTag] = () => stringified
253253
wrapped.toString = () => stringified
254254
return wrapped
255255
}

0 commit comments

Comments
 (0)