Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 119125f

Browse files
fixing typing issues when working with RC0
1 parent ca321e5 commit 119125f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

debug/debug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Logger.activeLogLevel = LogLevel.Verbose;
2828
// add your debugging imports here and prior to submitting a PR git checkout debug/debug.ts
2929
// will allow you to keep all your debugging files locally
3030
// comment out the example
31-
import { Example } from "./any";
31+
import { Example } from "./example";
3232
Example();
3333

3434
// you can also set break points inside the src folder to examine how things are working

src/net/httpclient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { APIUrlException } from "../utils/exceptions";
55

66
export interface FetchOptions {
77
method?: string;
8-
headers?: HeadersInit | { [index: string]: string };
8+
headers?: string[][] | { [key: string]: string };
99
body?: BodyInit;
1010
mode?: string | RequestMode;
1111
credentials?: string | RequestCredentials;

src/net/sprequestexecutorclient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class SPRequestExecutorClient implements HttpClientImpl {
2121
temp: IteratorResult<[string, string]>;
2222

2323
if (options.headers && options.headers instanceof Headers) {
24-
iterator = options.headers.entries();
24+
iterator = <IterableIterator<[string, string]>>options.headers.entries();
2525
temp = iterator.next();
2626
while (!temp.done) {
2727
headers[temp.value[0]] = temp.value[1];

0 commit comments

Comments
 (0)