[typescript-fetch] Remove a cycle in the discriminator dependency graph. (#18503)

This commit is contained in:
Jeffrey Yasskin 2024-05-03 06:07:02 -07:00 committed by GitHub
parent 8cb23db8c0
commit 67a504a2f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 18 deletions

View File

@ -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}}

View File

@ -13,11 +13,8 @@
*/
import { mapValues } from '../runtime';
import {
CatFromJSONTyped,
DogFromJSONTyped
} from './index';
import { CatFromJSONTyped } from './Cat';
import { DogFromJSONTyped } from './Dog';
/**
*
* @export

View File

@ -13,10 +13,7 @@
*/
import { mapValues } from '../runtime';
import {
ChildWithNullableFromJSONTyped
} from './index';
import { ChildWithNullableFromJSONTyped } from './ChildWithNullable';
/**
*
* @export

View File

@ -13,11 +13,8 @@
*/
import { mapValues } from '../runtime';
import {
CatFromJSONTyped,
DogFromJSONTyped
} from './index';
import { CatFromJSONTyped } from './Cat';
import { DogFromJSONTyped } from './Dog';
/**
*
* @export