Simn / ts2hx

Typescript external definitions to haxe converter
80 stars 16 forks source link

Error when running neko ts2hx.n --recursive: NoMatch TIdent($) #3

Closed tomtom closed 10 years ago

tomtom commented 10 years ago

I installed ts2hx and the current version of DefinitelyTyped. I get the following error, when running neko ts2hx.n --recursive:

Called from ? line 1
Called from Main.hx line 60
Called from Main.hx line 118
Called from Main.hx line 105
Called from Main.hx line 105
Called from Main.hx line 110
Called from Main.hx line 70
Uncaught exception - zepto-tes:line 3:characters 1-2: NoMatch TIdent($)
Simn commented 10 years ago

Make sure you are using it on definition files only (.d.ts) via --in "\.d\.ts$".

tomtom commented 10 years ago

Wonderful. Thanks a lot!

Just a question: Shouldn't this be the default value in the absence of an --in command-line option?

Simn commented 10 years ago

Good point, I've changed it accordingly.