diff options
Diffstat (limited to 'src/models/Recipe.ts')
-rw-r--r-- | src/models/Recipe.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/models/Recipe.ts b/src/models/Recipe.ts index e8f11df5f..11eb1884f 100644 --- a/src/models/Recipe.ts +++ b/src/models/Recipe.ts | |||
@@ -50,14 +50,14 @@ export interface IRecipe { | |||
50 | partition: string; | 50 | partition: string; |
51 | local: boolean; | 51 | local: boolean; |
52 | 52 | ||
53 | // eslint-disable-next-line @typescript-eslint/ban-types | 53 | readonly overrideUserAgent?: () => string; |
54 | readonly overrideUserAgent?: null | Function; | 54 | |
55 | // eslint-disable-next-line @typescript-eslint/ban-types | 55 | readonly buildUrl?: (url: string) => string; |
56 | readonly buildUrl?: null | Function; | 56 | |
57 | // eslint-disable-next-line @typescript-eslint/ban-types | 57 | readonly modifyRequestHeaders?: () => void; |
58 | readonly modifyRequestHeaders?: null | Function; | 58 | |
59 | // eslint-disable-next-line @typescript-eslint/ban-types | 59 | readonly knownCertificateHosts?: () => void; |
60 | readonly knownCertificateHosts?: null | Function; | 60 | |
61 | readonly events?: null | ((key: string) => string); | 61 | readonly events?: null | ((key: string) => string); |
62 | 62 | ||
63 | // TODO: [TS DEBT] Need to check if below properties are needed and where is inherited / implemented from | 63 | // TODO: [TS DEBT] Need to check if below properties are needed and where is inherited / implemented from |