Skip to content

Commit

Permalink
Fix type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bchelli committed Aug 28, 2021
1 parent 4f306cf commit b8cdae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/to-sql.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { IAstPartialMapper, AstDefaultMapper } from './ast-mapper';
import { astVisitor, IAstVisitor, IAstFullVisitor } from './ast-visitor';
import { NotSupported, nil, ReplaceReturnType, NoExtraProperties } from './utils';
import { TableConstraint, JoinClause, ColumnConstraint, AlterSequenceStatement, CreateSequenceStatement, AlterSequenceSetOptions, CreateSequenceOptions, QName, SetGlobalValue, AlterColumnAddGenerated, QColumn, Name, OrderByStatement } from './syntax/ast';
import { TableConstraint, JoinClause, ColumnConstraint, AlterSequenceStatement, CreateSequenceStatement, AlterSequenceSetOptions, CreateSequenceOptions, QName, SetGlobalValue, AlterColumnAddGenerated, QColumn, Name, OrderByStatement, QNameAliased } from './syntax/ast';
import { literal } from './pg-escape';
import { sqlKeywords } from './keywords';

Expand Down Expand Up @@ -103,7 +103,7 @@ function visitQualifiedName(cs: QName) {
function visitQualifiedNameAliased(cs: QNameAliased) {
visitQualifiedName(cs);
if (cs.alias) {
ret.push(' AS ', name(cs.alias), ' ');
ret.push(' AS ', ident(cs.alias), ' ');
}
}

Expand Down

0 comments on commit b8cdae1

Please sign in to comment.