Skip to content

Commit ea9063e

Browse files
committed
Updates comment about ES version
1 parent 1557001 commit ea9063e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/coreutils/src/time.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ const UNITS: { name: Intl.RelativeTimeFormatUnit; milliseconds: number }[] = [
1717
* The namespace for date functions.
1818
*/
1919
export namespace Time {
20-
// Intl.RelativeTimeFormatStyle contains these, but we can't compile with it yet
20+
// Intl.RelativeTimeFormatStyle contains these, but it requires `ES2020.Intl`.
21+
// We currently compile to an `ES2018` target.
2122
export type HumanStyle = 'long' | 'short' | 'narrow';
2223

2324
/**

0 commit comments

Comments
 (0)