fix(build): fixed delimiter in updates codegen conflicting with prettier
This commit is contained in:
parent
f5986e694a
commit
1935413aee
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ function toSentence(type, stype = 'inline') {
|
||||||
function generateParsedUpdate() {
|
function generateParsedUpdate() {
|
||||||
replaceSections('types/updates/index.ts', {
|
replaceSections('types/updates/index.ts', {
|
||||||
codegen: 'export type ParsedUpdate =\n'
|
codegen: 'export type ParsedUpdate =\n'
|
||||||
+ types.map((typ) => ` | { name: '${typ.typeName}', data: ${typ.updateType} }\n`).join(''),
|
+ types.map((typ) => ` | { name: '${typ.typeName}'; data: ${typ.updateType} }\n`).join(''),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue