forked from loafle/openapi-generator-original
[typescript-fetch] Remove a cycle in the discriminator dependency graph. (#18503)
This commit is contained in:
parent
8cb23db8c0
commit
67a504a2f3
@ -11,12 +11,9 @@ import {
|
||||
|
||||
{{/hasImports}}
|
||||
{{#discriminator}}
|
||||
import {
|
||||
{{#discriminator.mappedModels}}
|
||||
{{modelName}}FromJSONTyped{{^-last}},{{/-last}}
|
||||
import { {{modelName}}FromJSONTyped } from './{{modelName}}{{importFileExtension}}';
|
||||
{{/discriminator.mappedModels}}
|
||||
} from './index{{importFileExtension}}';
|
||||
|
||||
{{/discriminator}}
|
||||
{{>modelGenericInterfaces}}
|
||||
|
||||
|
@ -13,11 +13,8 @@
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
import {
|
||||
CatFromJSONTyped,
|
||||
DogFromJSONTyped
|
||||
} from './index';
|
||||
|
||||
import { CatFromJSONTyped } from './Cat';
|
||||
import { DogFromJSONTyped } from './Dog';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
|
@ -13,10 +13,7 @@
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
import {
|
||||
ChildWithNullableFromJSONTyped
|
||||
} from './index';
|
||||
|
||||
import { ChildWithNullableFromJSONTyped } from './ChildWithNullable';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
|
@ -13,11 +13,8 @@
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
import {
|
||||
CatFromJSONTyped,
|
||||
DogFromJSONTyped
|
||||
} from './index';
|
||||
|
||||
import { CatFromJSONTyped } from './Cat';
|
||||
import { DogFromJSONTyped } from './Dog';
|
||||
/**
|
||||
*
|
||||
* @export
|
||||
|
Loading…
x
Reference in New Issue
Block a user