Skip to content

Commit da369e6

Browse files
committed
fix: @putout/operator-keyword: typescript
1 parent b1ca288 commit da369e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/operator-keyword/lib/keyword.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ const declarations = [
1212
];
1313

1414
const conditions = ['if'];
15+
const typescript = [
16+
'interface',
17+
];
1518

1619
const expressions = [
1720
'as',
@@ -26,6 +29,7 @@ const statements = [
2629
...conditions,
2730
...declarations,
2831
...moduleDeclarations,
32+
...typescript,
2933
'break',
3034
'continue',
3135
'for',
@@ -35,7 +39,6 @@ const statements = [
3539
'throw',
3640
'of',
3741
'while',
38-
'interface',
3942
];
4043

4144
const keywords = [

0 commit comments

Comments
 (0)