We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5e9bab commit f688e10Copy full SHA for f688e10
src/models/integration-entity.model.ts
@@ -5,15 +5,13 @@ export type IntegrationEntity = {
5
};
6
7
export type LabeledIntegrationEntity<
8
- T extends IntegrationEntityType | unknown = unknown,
+ T extends IntegrationEntityType = IntegrationEntityType,
9
> = {
10
id: string;
11
type: T;
12
source: string;
13
label: string;
14
- additionalProperties?: T extends keyof AdditionalProperties
15
- ? AdditionalProperties[T]
16
- : unknown;
+ additionalProperties?: AdditionalProperties[T];
17
18
19
type AdditionalProperties = {
0 commit comments