This repository was archived by the owner on Aug 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 " ;
3232Example ( ) ;
3333
3434// you can also set break points inside the src folder to examine how things are working
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { APIUrlException } from "../utils/exceptions";
55
66export 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 ;
Original file line number Diff line number Diff 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 ] ;
You can’t perform that action at this time.
0 commit comments