Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/stc_ts_type_checker/tests/conformance.pass.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ async/es6/functionDeclarations/asyncFunctionDeclaration2_es6.ts
async/es6/functionDeclarations/asyncFunctionDeclaration3_es6.ts
async/es6/functionDeclarations/asyncFunctionDeclaration4_es6.ts
async/es6/functionDeclarations/asyncFunctionDeclaration8_es6.ts
classes/classDeclarations/classAbstractKeyword/classAbstractAccessor.ts
classes/classDeclarations/classAbstractKeyword/classAbstractAsIdentifier.ts
classes/classDeclarations/classAbstractKeyword/classAbstractAssignabilityConstructorFunction.ts
classes/classDeclarations/classAbstractKeyword/classAbstractClinterfaceAssignability.ts
Expand Down
4 changes: 2 additions & 2 deletions crates/stc_ts_type_checker/tests/tsc-stats.rust-debug
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Stats {
required_error: 4062,
matched_error: 5633,
extra_error: 1071,
matched_error: 5635,
extra_error: 1072,
}
3 changes: 3 additions & 0 deletions crates/stc_ts_type_checker/tests/tsc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ fn create_test(path: PathBuf) -> Option<Box<dyn FnOnce() + Send + Sync>> {

if let Ok(errors) = load_expected_errors(&path) {
for err in errors {
if err.code == "TS1318" {
continue;
}
if err.code.starts_with("TS1") && err.code.len() == 6 {
return None;
}
Expand Down