rebase
This commit is contained in:
commit
e2f472d802
83 changed files with 6338 additions and 0 deletions
11
src/compilers/FormatProperties.ts
Normal file
11
src/compilers/FormatProperties.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { Type } from "../index.js"
|
||||
import { Properties } from "../types/properties/components.js"
|
||||
|
||||
export function FormatProperties(properties: any) {
|
||||
if (properties.anchor) {
|
||||
properties.anchor_from = properties.anchor_to = properties.anchor
|
||||
delete properties.anchor
|
||||
}
|
||||
|
||||
return properties
|
||||
}
|
||||
Reference in a new issue