Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Oct 1, 2023
1 parent 980b015 commit d427855
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/dem-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ type ResponseCallback = (
error?: Error | undefined,
data?: any | undefined,
cacheControl?: string | undefined,
expires?: string | undefined
expires?: string | undefined,
) => void;
type Protocol = (
request: RequestParameters,
response: ResponseCallback
response: ResponseCallback,
) => Cancelable;

const used = new Set<string>();
Expand Down Expand Up @@ -93,7 +93,7 @@ export class DemSource {
encoding,
maxzoom,
timeoutMs,
actor
actor,
);
}

Expand Down Expand Up @@ -128,7 +128,7 @@ export class DemSource {
*/
sharedDemProtocol = (
request: RequestParameters,
response: ResponseCallback
response: ResponseCallback,
): Cancelable => {
const [z, x, y] = this.parseUrl(request.url);
const timer = new Timer("main");
Expand Down Expand Up @@ -164,7 +164,7 @@ export class DemSource {
*/
contourProtocol = (
request: RequestParameters,
response: ResponseCallback
response: ResponseCallback,
): Cancelable => {
const timer = new Timer("main");
const [z, x, y] = this.parseUrl(request.url);
Expand All @@ -174,7 +174,7 @@ export class DemSource {
x,
y,
getOptionsForZoom(options, z),
timer
timer,
);
let canceled = false;
(async () => {
Expand Down

0 comments on commit d427855

Please sign in to comment.