We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd64f2b commit 0fcc63eCopy full SHA for 0fcc63e
src/compiler/parser.ts
@@ -1979,8 +1979,8 @@ namespace ts {
1979
function parseParameter(): ParameterDeclaration {
1980
let node = <ParameterDeclaration>createNode(SyntaxKind.Parameter);
1981
node.decorators = parseDecorators();
1982
- node.dotDotDotToken = parseOptionalToken(SyntaxKind.DotDotDotToken);
1983
setModifiers(node, parseModifiers());
+ node.dotDotDotToken = parseOptionalToken(SyntaxKind.DotDotDotToken);
1984
1985
// FormalParameter [Yield,Await]:
1986
// BindingElement[?Yield,?Await]
0 commit comments