Show nested feature decorators in a list (#173)

* Show nested feature decorators in a list

* Fix swapping decorator indices

* Move wrapper model creation to separate function

* Add setting string node on enter
This commit is contained in:
Misode
2021-09-28 23:46:21 +02:00
committed by GitHub
parent 96d934d592
commit e5d2c02fb3
9 changed files with 180 additions and 48 deletions

View File

@@ -7,6 +7,10 @@ export function isPromise(obj: any): obj is Promise<any> {
return typeof (obj as any)?.then === 'function'
}
export function isObject(obj: any) {
return typeof obj === 'object' && obj !== null
}
const dec2hex = (dec: number) => ('0' + dec.toString(16)).substr(-2)
export function hexId(length = 12) {