aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2023-01-14 17:12:48 +0530
committerAkshay Nair <phenax5@gmail.com>2023-01-14 17:12:48 +0530
commitcd11925707c42843df195d9b2efb3c77b5de793b (patch)
tree0871b0041597096fdbf7c49416f96fa70da00e3c /stdlib
parentd362ef26db894ea52c6abd34489aa9efdbc0c89b (diff)
downloadts-types-lang-cd11925707c42843df195d9b2efb3c77b5de793b.tar.gz
ts-types-lang-cd11925707c42843df195d9b2efb3c77b5de793b.zip
feat: adds cleanup of result nodes
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/test.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/stdlib/test.ts b/stdlib/test.ts
index a592d87..86ed6a9 100644
--- a/stdlib/test.ts
+++ b/stdlib/test.ts
@@ -15,15 +15,12 @@ export interface ShowAssertionError<_L extends unknown, _R extends unknown> exte
export type AssertEquals<Left, Right> = Try<
Assert<Equals<Left, Right>>,
- <e extends string>() => Do<[
+ <m>() => Do<[
ShowAssertionError<Left, Right>,
- Throw<e>,
+ Throw<m>,
]>
>
export interface AssertEqualsK<Right extends unknown> extends Kind1 {
return: AssertEquals<this['input'], Right>
}
-
-// TODO: export interface AssertFails?
-