File tree Expand file tree Collapse file tree 3 files changed +174494
-2
lines changed
Expand file tree Collapse file tree 3 files changed +174494
-2
lines changed Original file line number Diff line number Diff line change 55 "fmt"
66 "github.com/clarkmcc/go-typescript/utils"
77 "github.com/clarkmcc/go-typescript/versions"
8- _ "github.com/clarkmcc/go-typescript/versions/v4.7.2 "
8+ _ "github.com/clarkmcc/go-typescript/versions/v4.9.3 "
99 "github.com/dop251/goja"
1010)
1111
@@ -60,7 +60,7 @@ func NewDefaultConfig() *Config {
6060 return & Config {
6161 Runtime : goja .New (),
6262 CompileOptions : nil ,
63- TypescriptSource : versions .DefaultRegistry .MustGet ("v4.7.2 " ),
63+ TypescriptSource : versions .DefaultRegistry .MustGet ("v4.9.3 " ),
6464 ModuleName : "default" ,
6565 }
6666}
Original file line number Diff line number Diff line change 1+ package v4_9_3
2+
3+ import (
4+ _ "embed"
5+ "github.com/clarkmcc/go-typescript/versions"
6+ )
7+
8+ //go:embed v4.9.3.js
9+ var Source string
10+
11+ func init () {
12+ versions .DefaultRegistry .MustRegister ("v4.9.3" , Source )
13+ }
You can’t perform that action at this time.
0 commit comments