Skip to content

Commit b5f790b

Browse files
committed
Export type ModifiersArray
1 parent e0587a0 commit b5f790b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/compiler/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,8 @@ namespace ts {
435435
TypeExcludesFlags = YieldContext | AwaitContext,
436436
}
437437

438+
export type ModifiersArray = NodeArray<Modifier>;
439+
438440
export const enum ModifierFlags {
439441
None = 0,
440442
Export = 1 << 0, // Declarations
@@ -480,7 +482,7 @@ namespace ts {
480482
/* @internal */ modifierFlagsCache?: ModifierFlags;
481483
/* @internal */ transformFlags?: TransformFlags;
482484
decorators?: NodeArray<Decorator>; // Array of decorators (in document order)
483-
modifiers?: NodeArray<Modifier>; // Array of modifiers
485+
modifiers?: ModifiersArray; // Array of modifiers
484486
/* @internal */ id?: number; // Unique id (used to look up NodeLinks)
485487
parent?: Node; // Parent node (initialized by binding)
486488
/* @internal */ original?: Node; // The original node if this is an updated node.

0 commit comments

Comments
 (0)