web: fix declaration of Intl

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-13 23:08:15 +02:00
parent 31fc4d1cb9
commit 3a88dde545
6 changed files with 11 additions and 12 deletions

7
web/src/global.d.ts vendored
View File

@ -1 +1,8 @@
declare module "*.css";
declare namespace Intl {
class ListFormat {
constructor(locale: string, args: { [key: string]: string });
public format: (items: string[]) => string;
}
}