File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,17 +67,22 @@ export interface Parent extends Node {
6767
6868export interface Message extends Parent {
6969 type : 'message' ;
70- children : ( Summary | Body ) [ ] ;
70+ children : ( Summary | Body | Newline | Footer ) [ ] ;
7171}
7272
7373export interface Text extends Literal {
7474 type : 'text' ;
7575 value : string ;
7676}
7777
78+ export interface Newline extends Literal {
79+ type : 'newline' ;
80+ value : string ;
81+ }
82+
7883export interface BreakingChange extends Literal {
7984 type : 'breaking-change' ;
80- value : '!' | 'BREAKING CHANGE' ;
85+ value : '!' | 'BREAKING-CHANGE' | 'BREAKING CHANGE';
8186}
8287
8388export interface Summary extends Parent {
@@ -102,7 +107,7 @@ export interface Separator extends Literal {
102107
103108export interface Body extends Parent {
104109 type : 'body' ;
105- children : ( Text | Footer ) [ ] ;
110+ children : ( Text | Newline ) [ ] ;
106111}
107112
108113export interface Footer extends Parent {
@@ -122,5 +127,5 @@ export interface Value extends Parent {
122127
123128export interface Continuation extends Parent {
124129 type : 'continuation' ;
125- children : Text [ ] ;
130+ children : ( Newline | Text ) [ ] ;
126131}
You can’t perform that action at this time.
0 commit comments