Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: lib/merge.ts

Issue 2416003003: Update package name, update and lock clang-format and tslint versions, and format all source files … (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/main.ts ('k') | lib/type.ts » ('j') | package.json » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/merge.ts
diff --git a/lib/merge.ts b/lib/merge.ts
index 51ddffa599cd898f15273d943d09ad7525879a1c..4b3bd9e560d560b4a7d698d6fc203af27505bbc9 100644
--- a/lib/merge.ts
+++ b/lib/merge.ts
@@ -132,7 +132,9 @@ export class MergedParameter {
return ret;
}
- setOptional() { this.optional = true; }
+ setOptional() {
+ this.optional = true;
+ }
private name: {[s: string]: boolean} = {};
private type: MergedType;
@@ -308,8 +310,9 @@ export function normalizeSourceFile(f: ts.SourceFile, fc: FacadeConverter) {
if (decl == null) return;
if (decl.kind !== ts.SyntaxKind.InterfaceDeclaration) return;
let interfaceDecl = decl as base.ExtendedInterfaceDeclaration;
- if (!interfaceDecl.members.some(
- (member) => { return member.kind === ts.SyntaxKind.ConstructSignature; }))
+ if (!interfaceDecl.members.some((member) => {
+ return member.kind === ts.SyntaxKind.ConstructSignature;
+ }))
return;
if (interfaceDecl.classLikeVariableDeclaration == null) {
« no previous file with comments | « lib/main.ts ('k') | lib/type.ts » ('j') | package.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698