Fix file extension for typescript
authorMatt Corallo <git@bluematt.me>
Tue, 12 Jan 2021 16:58:35 +0000 (11:58 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 12 Jan 2021 16:58:56 +0000 (11:58 -0500)
typescript_strings.py

index c5b32c537da19a6b6783cc65802b7d651f9e7939..c2602f88083312bd34a21f1c09b51bd0b593c6ce 100644 (file)
@@ -146,7 +146,7 @@ import * as bindings from '../bindings' // TODO: figure out location
         self.c_fn_ty_pfx = ""
         self.c_fn_name_pfx = ""
         self.c_fn_args_pfx = "void* ctx_TODO"
-        self.file_ext = ""
+        self.file_ext = ".ts"
         self.ptr_c_ty = "uint32_t"
         self.ptr_native_ty = "uint32_t"
         self.result_c_ty = "uint32_t"