From 07fd9923ae58557e34f4bdd60a5865545dd7366d Mon Sep 17 00:00:00 2001 From: Fabien Drault Date: Tue, 6 Aug 2024 12:31:44 +0200 Subject: [PATCH] feat(typegen): Fix test to reflect the type intersection --- test/output/default.d.ts | 2 +- test/snapshot/default.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/output/default.d.ts b/test/output/default.d.ts index 7e3fb48..e5d8769 100644 --- a/test/output/default.d.ts +++ b/test/output/default.d.ts @@ -7,7 +7,7 @@ declare module "translations" { type Translations = { - "animals": { count: number | string }; + "animals": { count: number | string | string | number }; "welcome": { name: string | number }; "age": { months: string | number; days: string | number }; "lorem": undefined; diff --git a/test/snapshot/default.d.ts b/test/snapshot/default.d.ts index 7e3fb48..d6e94da 100644 --- a/test/snapshot/default.d.ts +++ b/test/snapshot/default.d.ts @@ -7,7 +7,7 @@ declare module "translations" { type Translations = { - "animals": { count: number | string }; + "animals": { count: number }; "welcome": { name: string | number }; "age": { months: string | number; days: string | number }; "lorem": undefined;