Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

Commit

Permalink
fixing typing issues when working with RC0
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-rodgers committed Jan 13, 2017
1 parent ca321e5 commit 119125f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debug/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Logger.activeLogLevel = LogLevel.Verbose;
// add your debugging imports here and prior to submitting a PR git checkout debug/debug.ts
// will allow you to keep all your debugging files locally
// comment out the example
import { Example } from "./any";
import { Example } from "./example";
Example();

// you can also set break points inside the src folder to examine how things are working
Expand Down
2 changes: 1 addition & 1 deletion src/net/httpclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { APIUrlException } from "../utils/exceptions";

export interface FetchOptions {
method?: string;
headers?: HeadersInit | { [index: string]: string };
headers?: string[][] | { [key: string]: string };
body?: BodyInit;
mode?: string | RequestMode;
credentials?: string | RequestCredentials;
Expand Down
2 changes: 1 addition & 1 deletion src/net/sprequestexecutorclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class SPRequestExecutorClient implements HttpClientImpl {
temp: IteratorResult<[string, string]>;

if (options.headers && options.headers instanceof Headers) {
iterator = options.headers.entries();
iterator = <IterableIterator<[string, string]>>options.headers.entries();
temp = iterator.next();
while (!temp.done) {
headers[temp.value[0]] = temp.value[1];
Expand Down

0 comments on commit 119125f

Please sign in to comment.