How to use the updateModuleBlock function from typescript
Find comprehensive JavaScript typescript.updateModuleBlock code examples handpicked from public code repositorys.
38 39 40 41 42 43 44 45 46 47
result = ts.setTextRange(result, node.statements); switch (node.kind) { case ts.SyntaxKind.Block: return ts.updateBlock(node, result); case ts.SyntaxKind.ModuleBlock: return ts.updateModuleBlock(node, result); case ts.SyntaxKind.CaseClause: return ts.updateCaseClause(node, node.expression, result); case ts.SyntaxKind.DefaultClause: return ts.updateDefaultClause(node, result);
0
0
1
typescript.SyntaxKind is the most popular function in typescript (82777 examples)