Skip to content

Commit 0667d86

Browse files
committed
0.69.2
1 parent f34bd8f commit 0667d86

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dprint-plugin-typescript"
3-
version = "0.69.1"
3+
version = "0.69.2"
44
authors = ["David Sherret <[email protected]>"]
55
edition = "2021"
66
homepage = "https://github.com/dprint/dprint-plugin-typescript"

src/generation/context.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use deno_ast::SourcePos;
66
use deno_ast::SourceRange;
77
use deno_ast::SourceRanged;
88
use deno_ast::SourceRangedForSpanned;
9-
use deno_ast::SourceTextInfoProvider;
109
use dprint_core::formatting::ConditionReference;
1110
use dprint_core::formatting::IndentLevel;
1211
use dprint_core::formatting::IsStartOfLine;
@@ -61,7 +60,7 @@ impl<'a> Context<'a> {
6160
if_stmt_last_brace_condition_ref: None,
6261
expr_stmt_single_line_parent_brace_ref: None,
6362
#[cfg(debug_assertions)]
64-
last_generated_node_pos: program.text_info().range().start.into(),
63+
last_generated_node_pos: deno_ast::SourceTextInfoProvider::text_info(program).range().start.into(),
6564
}
6665
}
6766

0 commit comments

Comments
 (0)