You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
Add static analysis for tsc --strict (#2615)
* Initial attempt at CI to annotate new TSC errors * Make tsconfig file valid * enable debug * Specify commit * Fix commit specification * Switch back to main * Tweak permissions * Add strict mode failure * Attempt number two * Fix ts-extra-args * Add static analysis for tsc --strict
This commit is contained in:
committed by
GitHub
parent
1df329df7c
commit
8e646ea584
@@ -74,8 +74,7 @@ export function decodeParams(query: string): QueryDict {
|
||||
* variables with. E.g. { "$bar": "baz" }.
|
||||
* @return {string} The result of replacing all template variables e.g. '/foo/baz'.
|
||||
*/
|
||||
export function encodeUri(pathTemplate: string,
|
||||
variables: Record<string, string>): string {
|
||||
export function encodeUri(pathTemplate: string, variables: Record<string, string>): string {
|
||||
for (const key in variables) {
|
||||
if (!variables.hasOwnProperty(key)) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user