Skip to content

Commit

Permalink
build: ensure types are specified in TS files (#10800)
Browse files Browse the repository at this point in the history
**Related Issue:** #10796

## Summary

Fixes TS errors caused by having public types defined in `.d.ts` files.
  • Loading branch information
jcfranco authored Nov 20, 2024
1 parent 0f385af commit ced0824
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
declare global {
namespace Intl {
function supportedValuesOf(key: "timeZone"): TimeZone[];
}
}

export type TimeZone = string;

export interface TimeZoneGroup extends BasicTimeZoneGroup {
Expand Down

0 comments on commit ced0824

Please sign in to comment.