Skip to content
module@warp-drive/schema-dsl

Interface TraitOptions ​

ts
interface TraitOptions {
  mode?: "legacy" | "polaris";
}

Defined in: entities/trait.ts:19

Options accepted by the Trait decorator.

Properties ​

mode? ​

ts
mode?: "legacy" | "polaris";

Defined in: entities/trait.ts:26

The mode this trait is valid for use with: 'polaris' compiles a PolarisTrait, 'legacy' compiles a LegacyTrait.

Released under the MIT License.