Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Commit 3d32854

Browse files
committed
UPI3 bugfix; TS strict mode
1 parent 4fb6c51 commit 3d32854

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/upi-3/index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/upi-3/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function consume (pluginManager: PluginManager, options: IRegistrationOpt
8585
for (const paramName of Object.keys(params)) {
8686
const spec = params[paramName]
8787
disp.add(
88-
pluginManager.configParamManager.add(this.pluginName, paramName, spec)
88+
pluginManager.configParamManager.add(name, paramName, spec)
8989
)
9090
}
9191
}

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"inlineSourceMap": true,
2121
"strictNullChecks": true,
2222
"allowJs": false,
23-
"lib":["dom","es2017"]
23+
"lib":["dom","es2017"],
24+
"strict": true
2425
},
2526
"exclude": [
2627
"node_modules"

0 commit comments

Comments
 (0)