-
Notifications
You must be signed in to change notification settings - Fork 5
Can't compile the generator #1
Copy link
Copy link
Open
Description
I'd like to generate type definitions for the Alloy library so, before, I'm trying to compile your generator, with no luck. The command:
$ tsc -m commonjs -t ES5 -sourcemap References.ts
dies with this error message:
/Users/pdonadeo/git/titanium-typescript/Generator.ts(19,19): error TS2094: The property 'Join' does not exist on value of type 'String'.
/Users/pdonadeo/git/titanium-typescript/Generator.ts(27,19): error TS2094: The property 'Indent' does not exist on value of type 'String'.
/Users/pdonadeo/git/titanium-typescript/Generator.ts(145,54): error TS2094: The property 'Indent' does not exist on value of type 'String'.
/Users/pdonadeo/git/titanium-typescript/Generator.ts(151,68): error TS2094: The property 'Indent' does not exist on value of type 'String'.
/Users/pdonadeo/git/titanium-typescript/Generator.ts(205,43): error TS2094: The property 'Indent' does not exist on value of type 'String'.
/Users/pdonadeo/git/titanium-typescript/Generator.ts(210,41): error TS2094: The property 'Indent' does not exist on value of type 'String'.
/Users/pdonadeo/git/titanium-typescript/Generator.ts(422,7): error TS2082: Supplied parameters do not match any signature of call target:
Type 'TiReturnType' is missing property 'length' from type '_.List<TypeField>'.
/Users/pdonadeo/git/titanium-typescript/Generator.ts(422,7): error TS2087: Could not select overload for 'call' expression.
Any suggestion?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels