Files
vault/ui/types/global.d.ts
claire bontempo 0615a50674 UI: updates info table row jsdoc (#20697)
* reuse format-duration helper

* add changelog

* update duration

* fix 0 assuming 0s

* VAULT-16593/ update tests, remove formatting assumptions

* more tests

* add calc function

* woops, typo use %

* update variable name

* add back one template test

* refactor to handle all duration string cases, including 3m

* ok lets do that differently

* comment cleanup

* address comments

* push to rerun checks
2023-05-30 10:21:07 -07:00

18 lines
369 B
TypeScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
// Types for compiled templates
declare module 'vault/templates/*' {
import { TemplateFactory } from 'ember-cli-htmlbars';
const tmpl: TemplateFactory;
export default tmpl;
}
declare module '@icholy/duration' {
import Duration from '@icholy/duration';
export default Duration;
}