Using a Typewriter .tst file it is possible to only include Properties with a certain attribute using a $Properties([MyAttr])
filter.
Like this for example:
export class $Name{
$Properties([MyAttr])[
public $name: $Type = $Type[$Default];]
}
Is it possible to include all properties except those with the given attribute?
Something like this maybe:
export class $Name{
$Properties(![TsIgnore])[ //but this doesnt work!!
public $name: $Type = $Type[$Default];]
}
I've tried what I can think of ![TsIgnore]
, [!TsIgnore]
, etc. but none work. Also cannot find anything in the docs