Skip to content

Commit a12bd44

Browse files
Merge pull request #76 from bullsseye/fix-function-argument
Correct the parameter to accept array of type string
2 parents 9a086ac + 8f20caa commit a12bd44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class GraphRequest {
9494
}
9595

9696

97-
private urlJoin(urlSegments:[string]):String {
97+
private urlJoin(urlSegments:string[]):String {
9898
const tr = (s) => s.replace(/\/+$/, '');
9999
const tl = (s) => s.replace(/^\/+/, '');
100100
const joiner = (pre, cur) => [tr(pre), tl(cur)].join('/');

0 commit comments

Comments
 (0)