wip: add some hierarchy tests

This commit is contained in:
Philipp Kühn
2021-04-14 09:48:38 +02:00
parent daa5dc0fb1
commit c40ce34eec
9 changed files with 364 additions and 28 deletions

View File

@@ -299,7 +299,8 @@ export class Mark<Options = any> {
defaultOptions: {},
}
parentConfig: Partial<MarkConfig> = {}
// parentConfig: Partial<MarkConfig> = {}
parent: any
options!: Options
@@ -334,7 +335,9 @@ export class Mark<Options = any> {
...extendedConfig,
} as MarkConfig<ExtendedOptions>)
extension.parentConfig = this.config
extension.parent = this
// extension.parentConfig = this.config
return extension
}