Skip to content

Commit

Permalink
Merge pull request #5 from egasimus/master
Browse files Browse the repository at this point in the history
  • Loading branch information
drivasperez authored Jan 21, 2024
2 parents f5eea17 + 9765cfb commit a1228e2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,16 @@ pub struct CompilerOptions {
/// There is a handbook reference page [on Module Resolution](https://www.typescriptlang.org/docs/handbook/module-resolution.html).
#[derive(Deserialize, Debug, PartialEq, Copy, Clone)]
pub enum ModuleResolutionMode {
#[serde(rename = "node")]
Node,
#[serde(rename = "classic")]
#[serde(rename = "classic", alias = "Classic")]
Classic,
#[serde(rename = "node", alias = "Node", alias = "node10", alias = "Node10")]
Node,
#[serde(rename = "node16", alias = "Node16")]
Node16,
#[serde(rename = "nodenext", alias = "NodeNext")]
NodeNext,
#[serde(rename = "bundler", alias = "Bundler")]
Bundler,
}

/// Controls how JSX constructs are emitted in JavaScript files. This only affects output of JS files that started in .tsx files.
Expand Down

0 comments on commit a1228e2

Please sign in to comment.