Skip to content

Commit

Permalink
test Joshua's suggested fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-mfg committed May 1, 2024
1 parent 1d3aabf commit 492d9c2
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@ import { exists, mapValues } from '../runtime';
import type { {{{.}}} } from './{{.}}';
import {
{{.}}FromJSON,
{{^discriminator}}
{{.}}FromJSONTyped,
{{/discriminator}}
{{.}}ToJSON,
} from './{{.}}';
{{/imports}}

{{/hasImports}}
{{#legacyDiscriminatorBehavior}}
{{#discriminator}}
import {
{{#discriminator.mappedModels}}
{{modelName}}FromJSONTyped{{^-last}},{{/-last}}
{{/discriminator.mappedModels}}
} from './';

{{/discriminator}}
{{/legacyDiscriminatorBehavior}}
{{>modelGenericInterfaces}}

/**
Expand Down

0 comments on commit 492d9c2

Please sign in to comment.