Skip to content

Commit

Permalink
workaround TS v5.1 typing
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
  • Loading branch information
Anton Gilgur committed May 11, 2024
1 parent f20fd02 commit a4511f6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ui/src/app/typings.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
declare let SYSTEM_INFO: {version: string};

declare module 'swagger-ui-react/swagger-ui.css';

// TODO: remove this once we've updated to TS v5.1+ (c.f. https://github.com/microsoft/TypeScript/issues/49231#issuecomment-1137251612)
declare namespace Intl {
type Key = 'calendar' | 'collation' | 'currency' | 'numberingSystem' | 'timeZone' | 'unit';

function supportedValuesOf(input: Key): string[];
}

0 comments on commit a4511f6

Please sign in to comment.