codegen-2 2.12.1__tar.gz → 2.12.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: codegen-2
3
- Version: 2.12.1
3
+ Version: 2.12.2
4
4
  Summary: Meta-programming
5
5
  License: MIT
6
6
  Author: Binh Vu
@@ -205,6 +205,9 @@ class ExprNotEqual(Expr):
205
205
  def to_python(self):
206
206
  return f"{self.left.to_python()} != {self.right.to_python()}"
207
207
 
208
+ def to_typescript(self):
209
+ return f"{self.left.to_typescript()} !== {self.right.to_typescript()}"
210
+
208
211
 
209
212
  @dataclass
210
213
  class ExprLessThanOrEqual(Expr):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "codegen-2"
3
- version = "2.12.1"
3
+ version = "2.12.2"
4
4
  description = "Meta-programming"
5
5
  authors = ["Binh Vu <binh@toan2.com>"]
6
6
  license = "MIT"
File without changes
File without changes