Chore: fix type errors in tests (#63270)
* fix any's in tests * fix more any's in tests * more test type fixes * fixing any's in tests part 3 * more test type fixes * fixing test any's p5 * some tidy up * fix template_srv
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { systemDateFormats } from './formats';
|
||||
import { systemDateFormats, SystemDateFormatsState } from './formats';
|
||||
import { dateTimeParse } from './parser';
|
||||
|
||||
describe('dateTimeParse', () => {
|
||||
@@ -10,7 +10,7 @@ describe('dateTimeParse', () => {
|
||||
it('should be able to parse using default format', () => {
|
||||
systemDateFormats.update({
|
||||
fullDate: 'MMMM D, YYYY, h:mm:ss a',
|
||||
interval: {} as any,
|
||||
interval: {} as SystemDateFormatsState['interval'],
|
||||
useBrowserLocale: false,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user