Fix missing asteriskToken for target=es6/module=amd.

Fixes #10857.
This commit is contained in:
rbuckton
2016-09-12 14:22:25 -07:00
parent 1fce34be71
commit c7bb95bb29
5 changed files with 32 additions and 1 deletions

View File

@@ -705,7 +705,7 @@ namespace ts {
createFunctionDeclaration(
/*decorators*/ undefined,
/*modifiers*/ undefined,
/*asteriskToken*/ undefined,
node.asteriskToken,
name,
/*typeParameters*/ undefined,
node.parameters,