From 1507cec84b96d271996c72f3e2a86654d535e9cb Mon Sep 17 00:00:00 2001 From: f1ames Date: Tue, 19 Sep 2023 12:26:02 +0200 Subject: [PATCH 1/2] fix(types): remove unallowed semicolon It produces "Statements are not allowed in ambient contexts." error. See https://github.com/Microsoft/TypeScript/issues/11987 for more context. --- packages/types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/index.d.ts b/packages/types/index.d.ts index 102a5ad72..40473801c 100644 --- a/packages/types/index.d.ts +++ b/packages/types/index.d.ts @@ -49,11 +49,11 @@ export interface Suppression { kind: SuppressionKind; status: SuppressionStatus; justification?: string; -}; +} export interface ExternalSuppression extends Suppression { guid: string; -}; +} export interface AnnotationsSuppression extends Suppression { kind: 'inSource'; From 393090bc5c83c5c5a0a3340c538f39729a1fd2cc Mon Sep 17 00:00:00 2001 From: f1ames Date: Tue, 19 Sep 2023 12:29:36 +0200 Subject: [PATCH 2/2] chore(types): add changeset --- .changeset/unlucky-fireants-notice.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/unlucky-fireants-notice.md diff --git a/.changeset/unlucky-fireants-notice.md b/.changeset/unlucky-fireants-notice.md new file mode 100644 index 000000000..474a6279f --- /dev/null +++ b/.changeset/unlucky-fireants-notice.md @@ -0,0 +1,5 @@ +--- +"@monokle/types": patch +--- + +removed unallowed semicolon from types definitions