Skip to content

Commit

Permalink
feat(typescript-estree): set const modifier for TSTypeParameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Mar 11, 2023
1 parent 04bc5c5 commit 72a293d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/typescript-estree/src/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2407,6 +2407,7 @@ export class Converter {
default: node.default ? this.convertType(node.default) : undefined,
in: hasModifier(SyntaxKind.InKeyword, node),
out: hasModifier(SyntaxKind.OutKeyword, node),
const: hasModifier(SyntaxKind.ConstKeyword, node),
});
}

Expand Down

0 comments on commit 72a293d

Please sign in to comment.