Skip to content

Commit 72ebab3

Browse files
committed
chore: export types for security module
1 parent 818ee65 commit 72ebab3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export type { GenderType, NameModule, SexType } from './modules/name';
6060
export type { PhoneModule } from './modules/phone';
6161
export type { RandomModule } from './modules/random';
6262
export type { ChemicalElement, ScienceModule, Unit } from './modules/science';
63+
export type { Cvss, SecurityModule, SeverityRating } from './modules/security';
6364
export type { SystemModule } from './modules/system';
6465
export type { UniqueModule } from './modules/unique';
6566
export type { VehicleModule } from './modules/vehicle';

src/modules/security/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface Cvss {
3333
/**
3434
* Possible textual rating definitions for a CVSS identifier
3535
*/
36-
type SeverityRating = 'none' | 'low' | 'medium' | 'high' | 'critical';
36+
export type SeverityRating = 'none' | 'low' | 'medium' | 'high' | 'critical';
3737

3838
/**
3939
* Module to generate security related entries.

0 commit comments

Comments
 (0)