Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ sh scripts/build.sh
TokenObject {
pos: -1,
end: -1,
flags: 8,
modifierFlagsCache: 0,
transformFlags: 0,
parent: undefined,
kind: 144
}
/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:75
throw new Error(`Unhandled kind (${typeNode.kind}) for ${typeNode}`);
^
Error: Unhandled kind (144) for [object Object]
at toSimpleType (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:75:19)
at /Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:40:51
at Array.map (<anonymous>)
at toSimpleType (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:40:42)
at toSimpleType (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:45:93)
at visit (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:105:23)
at /Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:151:35
at visitNodes (/Users/ec/Sync/Code/tridactyl/node_modules/typescript/lib/typescript.js:17016:30)
at Object.forEachChild (/Users/ec/Sync/Code/tridactyl/node_modules/typescript/lib/typescript.js:17244:24)
at visit (/Users/ec/Sync/Code/tridactyl/compiler/gen_metadata.js:151:8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.