Skip to content

Commit

Permalink
Can't make TS work :(
Browse files Browse the repository at this point in the history
  • Loading branch information
GregBrimble committed Sep 7, 2022
1 parent f3f896e commit 187ca14
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/pages-shared/src/asset-server/handler.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck

import {
FoundResponse,
InternalServerErrorResponse,
Expand Down
3 changes: 3 additions & 0 deletions packages/pages-shared/src/asset-server/responses.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck

type HeadersInit = ConstructorParameters<typeof Headers>[0];

function mergeHeaders(base: HeadersInit, extra: HeadersInit) {
Expand Down
3 changes: 3 additions & 0 deletions packages/pages-shared/src/asset-server/rulesEngine.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck

// Taken from https://stackoverflow.com/a/3561711
// which is everything from the tc39 proposal, plus the following two characters: ^/
// It's also everything included in the URLPattern escape (https://wicg.github.io/urlpattern/#escape-a-regexp-string), plus the following: -
Expand Down

0 comments on commit 187ca14

Please sign in to comment.