Herman Klushin
Herman Klushin
Do not throw exception on non supported features. GenericRecords transforms to object Namespaces content are parsed
Input ``` export namespace iAppConfig { export interface ServiceConfig { key: string; token: string; } } ``` Output is for empty file: ``` /** * This module was automatically generated...
...node_modules/readts/dist/TypeSpec.js:38 if (type.target.symbol.getName() == 'Array' && type.typeArguments) { ^ TypeError: Cannot read property 'getName' of undefined at TypeSpec.parseReference (...node_modules/readts/dist/TypeSpec.js:38:32) at new TypeSpec (...node_modules/readts/dist/TypeSpec.js:17:18) at TypeSpec.parseReference (...node_modules/readts/dist/TypeSpec.js:39:28) at new TypeSpec (...node_modules/readts/dist/TypeSpec.js:17:18)...
## What are you doing? ```js Model.bulkCreate(data, {updateOnDuplicate:["value1","value2"], individualHooks:true}) ``` ## What do you expect to happen? ```sql INSERT INTO `model` (`id`,`value1`,`value2`) VALUES (1,'v1','v2') ON DUPLICATE KEY UPDATE `value1`=VALUES(`value1`), `value2`=VALUES(`value2`);...