mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-19 10:41:56 -05:00
PR Feedback
This commit is contained in:
@@ -1987,7 +1987,7 @@ const _super = (function (geti, seti) {
|
||||
if (substitution && (getNodeEmitFlags(node) & NodeEmitFlags.NoSubstitution) === 0) {
|
||||
const substitute = substitution(node);
|
||||
if (substitute !== node) {
|
||||
setNodeEmitFlags(substitute, NodeEmitFlags.NoSubstitution);
|
||||
setNodeEmitFlags(substitute, NodeEmitFlags.NoSubstitution | getNodeEmitFlags(substitute));
|
||||
emitWorker(substitute);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -203,7 +203,7 @@ namespace ts {
|
||||
/**
|
||||
* Visits a ClassDeclaration and transforms it into a variable statement.
|
||||
*
|
||||
* @parma node A ClassDeclaration node.
|
||||
* @param node A ClassDeclaration node.
|
||||
*/
|
||||
function visitClassDeclaration(node: ClassDeclaration): Statement {
|
||||
// [source]
|
||||
|
||||
Reference in New Issue
Block a user