File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import * as tstl from "./LuaAST";
77import { LuaLib , LuaLibFeature } from "./LuaLib" ;
88import { ContextType , TSHelper as tsHelper } from "./TSHelper" ;
99import { TSTLErrors } from "./TSTLErrors" ;
10- import { isArray } from "util" ;
1110
1211export type StatementVisitResult = tstl . Statement | tstl . Statement [ ] | undefined ;
1312export type ExpressionVisitResult = tstl . Expression | undefined ;
@@ -3128,7 +3127,7 @@ export class LuaTransformer {
31283127 || this . currentNamespace
31293128 || ( tsOriginal && tsHelper . findFirstNodeAbove ( tsOriginal , ts . isFunctionLike ) )
31303129 ) {
3131- if ( ! isArray ( lhs ) ) {
3130+ if ( ! Array . isArray ( lhs ) ) {
31323131 lhs = [ lhs ] ;
31333132 }
31343133 const shouldExport = lhs . some ( i => this . isIdentifierExported ( i . text ) ) ;
You can’t perform that action at this time.
0 commit comments