forked from metabrainz/musicbrainz-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi18n.js
30 lines (25 loc) · 750 Bytes
/
i18n.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* @flow strict
* Copyright (C) 2017 MetaBrainz Foundation
*
* This file is part of MusicBrainz, the open internet music database,
* and is licensed under the GPL version 2, or (at your option) any
* later version: http://www.gnu.org/licenses/gpl-2.0.txt
*/
declare type AnchorProps = {
+className?: string,
+href: string,
+key?: number | string,
+rel?: 'noopener noreferrer',
+target?: '_blank',
+title?: string,
};
declare type Expand2ReactInput = VarSubstArg | AnchorProps;
declare type Expand2ReactOutput = string | React$MixedElement;
declare type ExpandLFunc<-Input, Output> = (
key: string,
args: {+[arg: string]: Input | Output, ...},
) => Output;
declare type VarSubstArg =
| StrOrNum
| React$MixedElement;