Merge pull request #5174 from backstage/dependabot/npm_and_yarn/typescript-4.2.3
chore(deps): bump typescript from 4.1.3 to 4.2.3
This commit is contained in:
@@ -18,7 +18,10 @@ import React from 'react';
|
||||
import { HeaderLabel } from '../HeaderLabel';
|
||||
import { ConfigApi, useApi, configApiRef } from '@backstage/core-api';
|
||||
|
||||
const timeFormat = { hour: '2-digit', minute: '2-digit' };
|
||||
const timeFormat: Intl.DateTimeFormatOptions = {
|
||||
hour: '2-digit',
|
||||
minute: '2-digit',
|
||||
};
|
||||
|
||||
type TimeObj = {
|
||||
time: string;
|
||||
@@ -41,7 +44,7 @@ function getTimes(configApi: ConfigApi) {
|
||||
if (clock.has('label') && clock.has('timezone')) {
|
||||
let label = clock.getString('label');
|
||||
|
||||
const options = {
|
||||
const options: Intl.DateTimeFormatOptions = {
|
||||
timeZone: clock.getString('timezone'),
|
||||
...timeFormat,
|
||||
};
|
||||
|
||||
@@ -25819,9 +25819,9 @@ typescript-json-schema@^0.49.0:
|
||||
yargs "^16.2.0"
|
||||
|
||||
typescript@^4.0.3, typescript@^4.1.3:
|
||||
version "4.1.3"
|
||||
resolved "https://registry.npmjs.org/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7"
|
||||
integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==
|
||||
version "4.2.3"
|
||||
resolved "https://registry.npmjs.org/typescript/-/typescript-4.2.3.tgz#39062d8019912d43726298f09493d598048c1ce3"
|
||||
integrity sha512-qOcYwxaByStAWrBf4x0fibwZvMRG+r4cQoTjbPtUlrWjBHbmCAww1i448U0GJ+3cNNEtebDteo/cHOR3xJ4wEw==
|
||||
|
||||
ua-parser-js@^0.7.18:
|
||||
version "0.7.21"
|
||||
|
||||
Reference in New Issue
Block a user