{"action":"created","issue":{"url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/453","repository_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript","labels_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/453/comments","events_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/453/events","html_url":"https://github.com/RobinBuschmann/sequelize-typescript/issues/453","id":358658040,"node_id":"MDU6SXNzdWUzNTg2NTgwNDA=","number":453,"title":"How to use underlying Sequelize classes","user":{"login":"saachinsiva","id":7923274,"node_id":"MDQ6VXNlcjc5MjMyNzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7923274?v=4","gravatar_id":"","url":"https://api.github.com/users/saachinsiva","html_url":"https://github.com/saachinsiva","followers_url":"https://api.github.com/users/saachinsiva/followers","following_url":"https://api.github.com/users/saachinsiva/following{/other_user}","gists_url":"https://api.github.com/users/saachinsiva/gists{/gist_id}","starred_url":"https://api.github.com/users/saachinsiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saachinsiva/subscriptions","organizations_url":"https://api.github.com/users/saachinsiva/orgs","repos_url":"https://api.github.com/users/saachinsiva/repos","events_url":"https://api.github.com/users/saachinsiva/events{/privacy}","received_events_url":"https://api.github.com/users/saachinsiva/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-10T14:48:21Z","updated_at":"2018-09-11T15:10:14Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nI would like to use many of the underlying classes from Sequeseliz e.g. Transaction etc as a param of our functions and I could not do it unless I install @types/sequelize project or I will have to reference the sequelize installed as part of this package using relative path which I think is not a good idea.\r\n\r\nSo far we install both @types/sequelize and @types/sequelize-typescript and then import Transaction from sequelize but as soon as I upgrade the version to 0.6.6, I get this error in VSCode and I am not even sure if it is a bug in vs code.\r\n\r\n> Type 'import(\"c:/proj/server/node_modules/@types/sequelize/index\").Transaction' is not assignable to type 'import(\"c:/proj/server/node_modules/sequelize-typescript/node_modules/@types/sequelize/index\").Transaction'.\r\n\r\nPlease advise."},"comment":{"url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/comments/420308791","html_url":"https://github.com/RobinBuschmann/sequelize-typescript/issues/453#issuecomment-420308791","issue_url":"https://api.github.com/repos/RobinBuschmann/sequelize-typescript/issues/453","id":420308791,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDMwODc5MQ==","user":{"login":"saachinsiva","id":7923274,"node_id":"MDQ6VXNlcjc5MjMyNzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7923274?v=4","gravatar_id":"","url":"https://api.github.com/users/saachinsiva","html_url":"https://github.com/saachinsiva","followers_url":"https://api.github.com/users/saachinsiva/followers","following_url":"https://api.github.com/users/saachinsiva/following{/other_user}","gists_url":"https://api.github.com/users/saachinsiva/gists{/gist_id}","starred_url":"https://api.github.com/users/saachinsiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saachinsiva/subscriptions","organizations_url":"https://api.github.com/users/saachinsiva/orgs","repos_url":"https://api.github.com/users/saachinsiva/repos","events_url":"https://api.github.com/users/saachinsiva/events{/privacy}","received_events_url":"https://api.github.com/users/saachinsiva/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T15:10:14Z","updated_at":"2018-09-11T15:10:14Z","author_association":"NONE","body":"Hi\r\n\r\nThanks for looking in to this issue. I tried that before and was getting an error as below\r\n\r\n> [ts] Cannot access 'Sequelize.Transaction' because 'Sequelize' is a type, but not a namespace. Did you mean to retrieve the type of the property 'Transaction' in 'Sequelize' with 'Sequelize[\"Transaction\"]'?"}}
{"actor":{"display_login":"saachinsiva"}}