We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a086ac + 8f20caa commit a12bd44Copy full SHA for a12bd44
src/GraphRequest.ts
@@ -94,7 +94,7 @@ export class GraphRequest {
94
}
95
96
97
- private urlJoin(urlSegments:[string]):String {
+ private urlJoin(urlSegments:string[]):String {
98
const tr = (s) => s.replace(/\/+$/, '');
99
const tl = (s) => s.replace(/^\/+/, '');
100
const joiner = (pre, cur) => [tr(pre), tl(cur)].join('/');
0 commit comments