Skip to content

Commit 4d7d708

Browse files
committed
Widen declare options to include undefined
1 parent 9131c18 commit 4d7d708

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

providers/summary/cdsource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface CdSourceSummaryResult {
2525
* source tool. Extracts basic release date and facet information.
2626
*/
2727
export class CdSourceSummarizer {
28-
declare options: SummarizerOptions
28+
declare options: SummarizerOptions | undefined
2929

3030
constructor(options?: SummarizerOptions) {
3131
this.options = options

providers/summary/licensee.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface LicenseeSummaryResult {
6767
* Extracts license information from matched license files.
6868
*/
6969
export class LicenseeSummarizer {
70-
declare options: SummarizerOptions
70+
declare options: SummarizerOptions | undefined
7171

7272
constructor(options?: SummarizerOptions) {
7373
this.options = options

providers/summary/reuse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export interface ReuseSummaryResult {
6868
* Extracts license and copyright information following the REUSE specification.
6969
*/
7070
export class ReuseSummarizer {
71-
declare options: SummarizerOptions
71+
declare options: SummarizerOptions | undefined
7272

7373
constructor(options?: SummarizerOptions) {
7474
this.options = options

0 commit comments

Comments
 (0)