From 32d254891d642bc6006208a7d385043480d1de70 Mon Sep 17 00:00:00 2001 From: Beatrice Guerra Date: Wed, 18 Dec 2024 16:31:24 +0100 Subject: [PATCH] docs: remove export keyword from augmentations Refs: CDS-249 --- docs/components/CustomTheme.tsx | 2 +- docs/theme/theming.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/components/CustomTheme.tsx b/docs/components/CustomTheme.tsx index 251771eb..b614c1c2 100644 --- a/docs/components/CustomTheme.tsx +++ b/docs/components/CustomTheme.tsx @@ -10,7 +10,7 @@ import type { Theme, ThemeColorObj } from '../../src'; declare module '../../src/index' { // in external projects, the module is @zextras/carbonio-design-system - export interface Palette { + interface Palette { additional: ThemeColorObj; green: ThemeColorObj; } diff --git a/docs/theme/theming.mdx b/docs/theme/theming.mdx index 5a68158e..e9387647 100644 --- a/docs/theme/theming.mdx +++ b/docs/theme/theming.mdx @@ -28,10 +28,10 @@ declare the module '@zextras/carbonio-design-system', extending the appropriate import type { ThemeColorObj } from '@zextras/carbonio-design-system'; declare module '@zextras/carbonio-design-system' { - export interface Theme { + interface Theme { additionalThemeProperty: unknown; // give the proper type } - export interface Palette { + interface Palette { additionalColor: ThemeColorObj; } }