Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Mar 16, 2020
1 parent 570540f commit 2d4aa0f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
6 changes: 5 additions & 1 deletion packages/jsii-diff/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ export function compareEnums(original: reflect.Assembly, updated: reflect.Assemb
}
}

function* typePairs<T extends reflect.Type>(xs: T[], updatedAssembly: reflect.Assembly, context: ComparisonContext): IterableIterator<[T, T]> {
function* typePairs<T extends reflect.Type>(
xs: readonly T[],
updatedAssembly: reflect.Assembly,
context: ComparisonContext
): IterableIterator<[T, T]> {
for (const origType of xs) {
LOG.trace(origType.fqn);

Expand Down
21 changes: 13 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,26 @@
"files": [],
"include": [],
"references": [
{ "path": "packages/@jsii/dotnet-analyzers" },
{ "path": "packages/@jsii/dotnet-jsonmodel" },
{ "path": "packages/@jsii/dotnet-runtime" },
{ "path": "packages/@jsii/dotnet-runtime-test" },
{ "path": "packages/@jsii/java-runtime" },
{ "path": "packages/@jsii/kernel" },
{ "path": "packages/@jsii/runtime" },
{ "path": "packages/@jsii/spec" },
{ "path": "packages/codemaker" },
{ "path": "packages/jsii-calc" },
{ "path": "packages/jsii-config" },
{ "path": "packages/jsii-diff" },
{ "path": "packages/jsii-pacmak" },
{ "path": "packages/jsii-reflect" },
{ "path": "packages/jsii-rosetta" },
{ "path": "packages/jsii" },
{ "path": "packages/oo-ascii-tree" },
{ "path": "packages/@jsii/dotnet-analyzers" },
{ "path": "packages/@jsii/dotnet-jsonmodel" },
{ "path": "packages/@jsii/dotnet-runtime-test" },
{ "path": "packages/@jsii/dotnet-runtime" },
{ "path": "packages/@jsii/integ-test" },
{ "path": "packages/@jsii/java-runtime" },
{ "path": "packages/@jsii/kernel" },
{ "path": "packages/@jsii/runtime" },
{ "path": "packages/@jsii/spec" },
{ "path": "packages/@scope/jsii-calc-base-of-base" },
{ "path": "packages/@scope/jsii-calc-base" },
{ "path": "packages/@scope/jsii-calc-lib" }
]
}

0 comments on commit 2d4aa0f

Please sign in to comment.