Skip to content

Commit c19baaf

Browse files
committed
chore: remove FIXME comments
relates to #37
1 parent 85b1b7c commit c19baaf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

napi/src/options.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ pub struct NapiResolveOptions {
1818
pub tsconfig: Option<TsconfigOptions>,
1919

2020
/// Alias for [ResolveOptions::alias] and [ResolveOptions::fallback].
21+
///
2122
/// For the second value of the tuple, `None -> AliasValue::Ignore`, Some(String) ->
2223
/// AliasValue::Path(String)`
2324
/// Create aliases to import or require certain modules more easily.
2425
/// A trailing $ can also be added to the given object's keys to signify an exact match.
25-
///
26-
// FIXME can be array
2726
pub alias: Option<HashMap<String, Vec<Option<String>>>>,
2827

2928
/// A list of alias fields in description files.
@@ -78,7 +77,6 @@ pub struct NapiResolveOptions {
7877
/// Redirect module requests when normal resolving fails.
7978
///
8079
/// Default `[]`
81-
// FIXME can be array - same as alias
8280
pub fallback: Option<HashMap<String, Vec<Option<String>>>>,
8381

8482
/// Request passed to resolve is already fully specified and extensions or main files are not resolved for it (they are still resolved for internal requests).
@@ -91,7 +89,6 @@ pub struct NapiResolveOptions {
9189
/// A list of main fields in description files
9290
///
9391
/// Default `["main"]`.
94-
// FIXME (string | string[] | { name: string | string[]; forceRelative: boolean })[]
9592
#[napi(ts_type = "string | string[]")]
9693
pub main_fields: Option<StrOrStrListType>,
9794

0 commit comments

Comments
 (0)