Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/@jsii/spec/src/assembly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ export function describeTypeReference(type?: TypeReference): string {
/**
* Predefined constants for a set of jsii extension features
*/
export type JsiiFeature = 'intersection-types';
export type JsiiFeature = 'intersection-types' | 'class-covariant-overrides';

/**
* For every feature, is it enforced by the type system?
Expand All @@ -1096,6 +1096,7 @@ export type JsiiFeature = 'intersection-types';
*/
const IS_FEATURE_TYPESYSTEM_ENFORCED: Record<JsiiFeature, boolean> = {
'intersection-types': true,
'class-covariant-overrides': false,
};

/**
Expand Down
Loading