File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -269,24 +269,26 @@ function makeClassDeclarationCode(versions: string[]): string {
269269 const fields = versions
270270 . map (
271271 ( v ) =>
272- `private _raw${ v } : string\nprivate _set${ v } : Set<string> | undefined` ,
272+ `private _raw${ v } : string\n\ nprivate _set${ v } : Set<string> | undefined` ,
273273 )
274- . join ( "\n" )
274+ . join ( "\n\n " )
275275 const parameters = versions . map ( ( v ) => `raw${ v } : string` ) . join ( ", " )
276276 const init = versions . map ( ( v ) => `this._raw${ v } = raw${ v } ` ) . join ( "\n" )
277277 const getters = versions
278278 . map (
279279 ( v ) =>
280280 `public get es${ v } (): Set<string> { return this._set${ v } ?? (this._set${ v } = new Set(this._raw${ v } .split(" "))) }` ,
281281 )
282- . join ( "\n" )
282+ . join ( "\n\n " )
283283
284284 return `
285285 class DataSet {
286286 ${ fields }
287+
287288 public constructor(${ parameters } ) {
288289 ${ init }
289290 }
291+
290292 ${ getters }
291293 }
292294 `
You can’t perform that action at this time.
0 commit comments