File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1
1
import { FluentBundle } from "@fluent/bundle" ;
2
2
3
+ export function mapBundleAsync (
4
+ bundles : AsyncIterable < FluentBundle > ,
5
+ ids : string
6
+ ) : Promise < FluentBundle | null >
7
+
8
+ export function mapBundleAsync (
9
+ bundles : AsyncIterable < FluentBundle > ,
10
+ ids : Array < string >
11
+ ) : Promise < Array < FluentBundle | null > > ;
12
+
3
13
/*
4
14
* Asynchronously map an identifier or an array of identifiers to the best
5
15
* `FluentBundle` instance(s).
Original file line number Diff line number Diff line change 1
1
import { FluentBundle } from "@fluent/bundle" ;
2
2
3
+ export function mapBundleSync (
4
+ bundles : Iterable < FluentBundle > ,
5
+ ids : string
6
+ ) : FluentBundle | null ;
7
+
8
+ export function mapBundleSync (
9
+ bundles : Iterable < FluentBundle > ,
10
+ ids : Array < string >
11
+ ) : Array < FluentBundle | null > ;
12
+
3
13
/*
4
14
* Synchronously map an identifier or an array of identifiers to the best
5
15
* `FluentBundle` instance(s).
You can’t perform that action at this time.
0 commit comments